Izaya Orihara Posted January 13, 2015 Posted January 13, 2015 So I finally managed to settle with a host recently with my site under its new domain name for my forum! Whoo.Question1. I know in .htaccess you can set URL Forwarding or something so that the old domain(s) redirect properly back to the sites's new URLHow do you do this? This will be for 5 previous used domains we had(I know a lot :P)2. We've had quite a few domain names. Is it possible to set up a URL rewrite on one of our older domains IF someone else owns that url or it has gone into the registrar's collection?I doubt that ^above but I figured it didn't hurt to ask.
Pete T Posted January 13, 2015 Posted January 13, 2015 RewriteCond %{HTTP_HOST} ^olddomain\.com$ [OR]RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$RewriteRule ^/?$ "http\:\/\/www\.newdomain\.com\/" [R=301,L]olddomain/newdomain replace with your domain you need do that each domain.2. We've had quite a few domain names. Is it possible to set up a URL rewrite on one of our older domains IF someone else owns that url or it has gone into the registrar's collection?nope
ASTRAPI Posted January 13, 2015 Posted January 13, 2015 You can also try this:# This allows you to redirect your entire website to any other domain Redirect 301 / http://newsite.com/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.