Forum Moderators: phranque
redirect 301 /states/ http://www.example.com/states/
I'm redirecting the home page of site #1 to an interior page in site #2:
redirect 301 / http://www.example.com/somepage/
There's no extension on the home page URL on either site because both use URL rewriting.
What I'm trying to do is preserve access to a script that lives in the /actions/ subdirectory of the old site - call it "/actions/somescript.php". For some reason I can't use 301 redirects on that directory (e.g. "redirect 301 /actions/ http://www.example.com/actions/"), even though redirects work fine for the "phantom" directories (like /states/) that are created through the URL rewriting.
Any suggestions?/
Thanks.
2) Check to see if MultiViews are enabled. If you don't use them, then disable them (See core "Options" directive.)
3) Check for a ScriptAlias directive in the server config files which refers to the script; This may preempt your Redirect for the script.
Jim