Welcome Guest, Not a member yet? Register   Sign In
probably a simple question about routes
#11

[eluser]thetit4n[/eluser]
not really, because no matter what i put there it dosent work.. even if i do it as a link.... or with an image... nothing.. i dont get it.
#12

[eluser]wiredesignz[/eluser]
post your .htaccess file content
#13

[eluser]thetit4n[/eluser]
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>

i really think this might be the culprit
#14

[eluser]wiredesignz[/eluser]
Your RewriteCond is only allowing index.php, images and robots.txt and sends everything else to index.php

This is one I use:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond $1 !^(index\.php|gallery|img|pdf|css|js|flash|font|user_guide|robots\.txt|favicon\.ico)
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
#15

[eluser]thetit4n[/eluser]
got it, thank you
#16

[eluser]wiredesignz[/eluser]
Thats ok, You're only the 5000th person to get caught out by .htaccess :lol:

And Welcome to CI forums
#17

[eluser]thetit4n[/eluser]
thanks Smile i dont know much about mod_rewrite and i copied that right out of the user guide lol.




Theme © iAndrew 2016 - Forum software by © MyBB