View previous topic :: View next topic |
Author |
Message |
mscdex -
Joined: 12 Dec 2004 Posts: 3
|
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Tue Mar 20, 2007 11:17 pm Post subject: |
|
|
ou could just put up an HTML page saying we moved to BLAH, thats what i do when i move sites, most users will understand and bookmark the new site _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Mar 20, 2007 11:58 pm Post subject: |
|
|
Make your error 404 page tell them the resource may have moved and to go to the homepage. That could be a temporary solution until you get the url rewriting working. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
mscdex -
Joined: 12 Dec 2004 Posts: 3
|
Posted: Tue Mar 20, 2007 11:59 pm Post subject: |
|
|
hc2995 wrote: | ou could just put up an HTML page saying we moved to BLAH, thats what i do when i move sites, most users will understand and bookmark the new site |
The problem with that is, I'd have to put an html in every single folder under that main folder where my old site resided. I had several hundred folders previously, and that would quite a bit of time to put one in every single folder there. I was hoping there was a more elegant solution anyway with the url rewriting.
AbyssUnderground wrote: | Make your error 404 page tell them the resource may have moved and to go to the homepage. That could be a temporary solution until you get the url rewriting working. |
I could do that, but I host multiple sites on my web server machine. So if a 404 came up while browsing one of the other sites it would confuse and misdirect the user. |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Mar 21, 2007 12:09 am Post subject: |
|
|
If you're using X2 and set up a new VHOST for each site then you can set 404 pages independantly of each website. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Mar 21, 2007 12:11 am Post subject: |
|
|
Try this Rewrite Rule:
Virtual Path Regular Expression: ^/site/(.*)$
If this rule matches: Perform an external redirection
Redirect to: /newsite/$1
Status Code: 301 - Moved Permanently |
|
Back to top |
|
|
|