Forum Moderators: phranque
Present site structure is:
[widgets.com...]
New site will be:
[thingies...]
So I'd like to redirect everything as is - just moving from the present top domain to it's own domain. Here's what I've come up with:
# Permanently redirect from olddirectory and subdirectories to new site and directories
Redirect permanent /thingies [thingies.com...] [R=301,L]
Questions:
- will this redirect all the subdirectories and pages under "thingies" to the same pages at the new site? The site structure and pages have remained the same.
- should there be a slash at the end of that redirect statement? i.e. thingies.com/
- I would be adding this to my present htaccess file (Rewrite engine on) at widget.com - should I put it at the top level directory (widgets) or should I place it in the folder which is presently called thingies?
- Is there a particular order within the htaccess file where this should be? meaning... I've got my list of error documents, rewrite conditions for bad bots, etc.
Sorry to be so dense, I realize this is a topic which has been discussed constantly here. If I missed finding a specific example on elevating a directory to a domain please forgive me (and point me in the right direction?).