Modrewrite: Permanent Redirect Hi guys. This question is probably directed towards Nintendo, but I will pose it to everyone. I was wondering the code for a permanent redirect. What I want to do is this: www.this-site.com to www.that-site.com Along with that, I want all files and URLs from this-site.com to be redirected to that-site.com like so: www.this-site.com/any-file-or-directory/ to www.that-site.com/the-name-of-redirected-file-or-directory/ Help appreciated. Thanks.
Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^(.*)$ http://www.new-wacko-domain.com/$1 [R=301,L] Depending on da kind of URLs, it might not be very friendly!!!!
Doesn't need to be. Just needs to be search engine friendly because I changed the domain of my site, but search engines just know the article URLs of the one domain - now they can get to the same articles with the new domain without me getting banned.
Try that out. I've been able to move a whole vBulletin section to a new domain using that code, while some times, like if the URLs are complicated, others have had trouble using one line for everything with that code.