i hope this is the right place to ask this.....
I have a website with a .co.uk domain name. I'm redesigning the site and wonder about swapping to a .com domain.
The current site is no.1 in google rankings for relevant searches and I don't want to lose that really.
So can i somehow redirect the .co.uk to the .com? I keep reading about 301 redirects and .htaccess but it seems a bit confusing. I'm not an IT wizard, and the site has been designed using Dreamweaver.
Any help would be much appreciated. Is there a guide or tutorial aimed at intermediate level?
asked Jul 27 '12 at 05:40
Using 301 redirects is the way to go. You can either set those up via .htaccess, in the web server config (if you're using a custom web server), or programatically in your web scripts.
If you have trouble doing this, or if you aren't sure what you've done is correct, you can open a ticket so our support staff can take a look.
answered Jul 27 '12 at 10:43
First create a new application for your .com domain. Make sure it works as intended. Then create a .htaccess (that's the full name) file with the following content:
If you make it with Notepad, make sure that you set the file type to "All files" when saving, or it will be called .htaccess.txt (and that won't work).
Make sure your .co.uk site is set up as "Static/CGI/PHP". Put the .htaccess file in the root of your .co.uk site and delete everything else.
There's a more complex method here: Redirect a Domain with a Static/CGI/PHP App, but I doubt you'll need that.
answered Jul 31 '12 at 09:42