• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return URI Segment

#9
[eluser]LuckyFella73[/eluser]
It would be the .htaccess in your root directory (where your index.php is
located).

There are different ways to set up a .htaccess file depending on the
server environment and what exactly you want to achieve.

An example .htaccess that works for my needs:
Code:
<IfModule mod_rewrite.c>

Options +FollowSymLinks

# Turn on the Rewrite Engine
RewriteEngine On

# modified allready for your url:
RewriteBase /demo/Baxobeat/

# If the file or directory exists, show it
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]

# Blank queries get sent to the index
RewriteRule ^$ index.php [L]

# All other queries get sent to the index as index.php/whatever
RewriteRule ^(.*)$ index.php/$1 [L]

</IfModule>

If that doesn work for you do some research about .htaccess files
and Codeigniter. There are many posts about that kind of issues.

A good start before doing te research would be reading about the
basics:
http://ellislab.com/codeigniter/user-gui.../urls.html

Hope that helps


Messages In This Thread
Return URI Segment - by El Forum - 06-25-2012, 10:47 PM
Return URI Segment - by El Forum - 06-26-2012, 02:50 AM
Return URI Segment - by El Forum - 06-26-2012, 04:00 AM
Return URI Segment - by El Forum - 06-26-2012, 04:03 AM
Return URI Segment - by El Forum - 06-26-2012, 04:13 AM
Return URI Segment - by El Forum - 06-26-2012, 05:41 AM
Return URI Segment - by El Forum - 06-26-2012, 05:45 AM
Return URI Segment - by El Forum - 06-26-2012, 06:05 AM
Return URI Segment - by El Forum - 06-26-2012, 06:11 AM
Return URI Segment - by El Forum - 06-28-2012, 10:19 PM
Return URI Segment - by El Forum - 06-28-2012, 10:58 PM
Return URI Segment - by El Forum - 06-29-2012, 01:08 AM
Return URI Segment - by El Forum - 06-29-2012, 01:18 AM
Return URI Segment - by El Forum - 06-29-2012, 01:22 AM
Return URI Segment - by El Forum - 06-29-2012, 03:37 AM
Return URI Segment - by El Forum - 06-30-2012, 01:18 AM
Return URI Segment - by El Forum - 07-02-2012, 12:12 AM
Return URI Segment - by El Forum - 07-02-2012, 02:09 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.