View Single Post
Old 05-17-2009, 02:55 PM   PM User | #8
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
Quote:
Originally Posted by samcroft View Post
I've tried that with no success:

Code:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^images\/(.+)$ images/$1 [L]
RewriteRule ^(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*)$ index.php?page=$1z$2z$3z$4z$5 [L]
RewriteRule ^(.*?)\/(.*?)\/(.*?)\/(.*)$ index.php?page=$1z$2z$3z$4 [L]
RewriteRule ^(.*?)\/(.*?)\/(.*)$ index.php?page=$1z$2z$3 [L]
RewriteRule ^(.*?)\/(.*)$ index.php?page=$1z$2 [L]
RewriteRule ^(.*)$ index.php?page=$1 [L]
It is still coming up with the same wrong file path
can you post a link? also, take it step by step, comment all lines in htaccess and starting from top do change on the line untill work, then go to next line.

something like this:
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^images/(.+)$ images/$1 [L]
#RewriteRule ^(.*?)\/(.*?)\/(.*?)\/(.*?)\/(.*)$ index.php?page=$1z$2z$3z$4z$5 [L]
#RewriteRule ^(.*?)\/(.*?)\/(.*?)\/(.*)$ index.php?page=$1z$2z$3z$4 [L]
#RewriteRule ^(.*?)\/(.*?)\/(.*)$ index.php?page=$1z$2z$3 [L]
#RewriteRule ^(.*?)\/(.*)$ index.php?page=$1z$2 [L]
RewriteRule ^(.*)$ index.php?page=$1 [L]
remove slash, maybe this is the problem.

best regards
oesxyl is offline   Reply With Quote