Re: Pretty Permalinks Not Working
livibetter: You are right. I reversed the modifications after testing. They are in place now. A side note, if the directory ‘youcantfindme’ does not exist then http://make2for1.com/redir returns:
“Error 404 – Not found
Your browser can’t find the document corresponding to the URL you typed in.”
And shows http://make2for1.com/youcantfindme in the address field of the browser. If I create the directory ‘youcantfindme’ and put an index file in there then http://make2for1.com/redir does indeed show the index file and the address changes to http://make2for1.com/youcantfindme.
The debug test shows the following:
—-
http://make2for1.com/forum.php?id=1
REQUEST_URI: string(15) “/forum.php?id=1”
should be: string(14) “/forum/general”
full permalink: string(38) “http://www.make2for1.com/forum/general”
PATH_INFO: string(10) “/forum.php”
http://www.make2for1.com/forum/general
Error 404 – Not found
Your browser can’t find the document corresponding to the URL you typed in.
[That was with the RewriteRule redir youcantfindme [R=301,L] .htaccess]
http://www.make2for1.com/forum/general
[with the actual .htaccess generated with http://make2for1.com/bb-admin/rewrite-rules.php%5D
also
Error 404 – Not found
Your browser can’t find the document corresponding to the URL you typed in.
—-
I have returned the .htaccess back to
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule redir youcantfindme [R=301,L]
</IfModule>
so you can see the http://make2for1.com/redir work
If anyone wants to play with this, I’ll happily setup an ftp account. Email juggler@gmail.com
I have left the changes in place.
Thanks.
Doug