Forum Moderators: phranque
The redirect works file but the URL in the browser does not change to http://www.example.com/pls/htmldb/f?p=101:1 but it will stay as http://www.example.com
I even tried to use PHP to do the redirect but I get exactly the same result. So I am assuming that there is something wrong with my Apache setup. What should I need to do so that the redirect will cause the browser url to change to the redirected url.
[edited by: jdMorgan at 9:16 pm (utc) on June 12, 2005]
[edit reason] Example.com [/edit]
It's possible that your rule is not being invoked. Try redirecting to a page that does not exist. If the rewrite rule is working you should get an error.
Check for mod_rewrite dependencies: AllowOverride FileInfo Options at minimum, and Options FollowSymLinks must be enabled.
If on Apache 1.x, mod_rewrite must follow any other modules that you wish to invoke for that filetype in the LoadModule list. If you modify the order of this list, keep a backup!
Jim
These services are famous for offering two bad solutions; They either frame your page or use a 302-redirect, and both of those are deadly for search engine ranking.
Jim
[edit] Speling corekshun [/edit]
[edited by: jdMorgan at 5:18 am (utc) on June 13, 2005]