Hi All,
I know there has been many discussions on 301's etc, but we are at a loss with a solution for an issue we have.
We moved an old site hosted on windows (.aspx) to a new PHP server.
In a nutshell we want to redirect the old .aspx urls to the new ones.
There are 2 things we need to do:
1. Redirect old .aspx urls to folders (e.g)
http://www.mysite/flowers/roses/
2. Redirect old .aspx urls to new .html urls (e.g)
http://www.mysite/flowers.html
Our developers have tried pretty much everything under the sun to get this working, they know about the various issues with a conflict between mod_rewrite and mod_alias but they cannot get anything to work.
They are also aware it could be an issue with friendly url's.
A typical redirect is:
#Redirect 301
http://mysite.co.uk/folder/my-url.aspx http://www.mysite.co.uk/folder/
or
#RewriteCond %{HTTP_HOST} !^www\.mysite.co.uk/folder/my-url\.aspx
#RewriteRule (.*) www.mysite/folder/$1 [R=301,L]
If anyone has any ideas or suggestions or needs any other config files from us so we can gain our sanity back it would be much appreciated
Thanks
H