UncleSteve Posted June 22, 2007 Share Posted June 22, 2007 Is there a way to transfer all traffic from one Domain to another? Basically I have two OSC sites (same file structure etc.) running on two websites with different domain extensions (mydomain.co.uk & mydomain.com). What I'd like to do, is transfer all the traffic from one to the other. In my cPanel I can do a redirect from one to the other, but I'm unable to do redirects for all the pages (probably about 2,000). So is there a catch all way to achieve this please? Thanks in advance :) ____________________________________________________________________ ____________________________________________________________________ Link to comment Share on other sites More sharing options...
UncleSteve Posted June 22, 2007 Author Share Posted June 22, 2007 whilst on this theme, is there a way to automatically change visitors URL from http://mydomain.com to http://www.mydomain.com? The reason I ask is that it causes problems with the SSL certificate, as its registered to www.mydomain.com. So if any one enters the site using mydomain.com it gets flaged up as a potential problem ____________________________________________________________________ ____________________________________________________________________ Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2007 Share Posted June 22, 2007 whilst on this theme, is there a way to automatically change visitors URL from http://mydomain.com to http://www.mydomain.com? The reason I ask is that it causes problems with the SSL certificate, as its registered to www.mydomain.com. So if any one enters the site using mydomain.com it gets flaged up as a potential problem use an alias on your apache web server Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2007 Share Posted June 22, 2007 whilst on this theme, is there a way to automatically change visitors URL from http://mydomain.com to http://www.mydomain.com? Add this to your .htaccess file Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yoursite.com [NC] RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301] Link to comment Share on other sites More sharing options...
UncleSteve Posted June 22, 2007 Author Share Posted June 22, 2007 use an alias on your apache web server Sorry, no experience of Apache. ____________________________________________________________________ ____________________________________________________________________ Link to comment Share on other sites More sharing options...
UncleSteve Posted June 22, 2007 Author Share Posted June 22, 2007 Add this to your .htaccess file Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yoursite.com [NC] RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301] I couldn't get the above to work. I also found carrying out a redirect via cPanel make a file with the same code as yours, but it still won't do a redirect. I tried the code on another site which does work, so there's something very strange going on. The main reason for wanting a redirect is that my host has flogged me a SSL cert that has someone elses name on it! :angry: and when you go to https://mydomain.co.uk it forwards to the company mentioned on the SSL cert :angry: it still has https://mydomain.co.uk in the address bar after the page has loaded! ____________________________________________________________________ ____________________________________________________________________ Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2007 Share Posted June 22, 2007 I couldn't get the above to work. You do have to change the "yoursite.om" part. The main reason for wanting a redirect is that my host has flogged me a SSL cert that has someone elses name on it! mad.gif and when you go to https://mydomain.co.uk it forwards to the company mentioned on the SSL cert mad.gif it still has https://mydomain.co.uk in the address bar after the page has loaded! I would not put up with that and either get them to fix it or find a new host. There are lots out there. Even if you do redirect to a new domain you will loose traffic and PR (just temp if done correctly). There is no reason you should loose anything because someone else wants to give you a bad SSL Cert. It is YOUR business and you should always be the one in control of it. Link to comment Share on other sites More sharing options...
UncleSteve Posted June 22, 2007 Author Share Posted June 22, 2007 You do have to change the "yoursite.om" part. Ha ha, - sorry I've lost my sense of humour over this issue. I would not put up with that and either get them to fix it or find a new host. There are lots out there. Even if you do redirect to a new domain you will loose traffic and PR (just temp if done correctly). There is no reason you should loose anything because someone else wants to give you a bad SSL Cert. It is YOUR business and you should always be the one in control of it. I am pushing very hard on this. I know from experience that it takes time to change hosts, going to this host was because of silly amounts of down time with the previous host. ____________________________________________________________________ ____________________________________________________________________ Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2007 Share Posted June 22, 2007 To change hosts you do a FULL backup of your site. Find a NEW host and upload your files and DB to the site. Change your DNS with the company you have your domain registered with and put your old store down for maintenance for a few hours. Once the DNS takes effect (your new host might be able to speed that up) you have your new store already to go on the new server. Link to comment Share on other sites More sharing options...
UncleSteve Posted June 26, 2007 Author Share Posted June 26, 2007 To change hosts you do a FULL backup of your site. Find a NEW host and upload your files and DB to the site. Change your DNS with the company you have your domain registered with and put your old store down for maintenance for a few hours. Once the DNS takes effect (your new host might be able to speed that up) you have your new store already to go on the new server. Your absolutely correct in what you say. However what I find what takes the time, is investigating what their customer service is like and how they respond is an indicator of their attitude, however the sales team are very keen to get you on their books, but the service/help desk have the opposite attitude. Far too many hosts I've come across advertise 24/7 help desk, what a load of.... Google is always good at letting you know what host are like, try searching for the hosts name, then look at what pops up, as I've crossed a few off my list by doing that! One negative comment is one too many! My host is still messing me around, so its getting near the point of naming and shaming them! ____________________________________________________________________ ____________________________________________________________________ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.