November 21, 201213 yr Hi there I am really confused as to what to do and I hope you guys can help me. I have a website on abcecigs.com I have been able to aquire abcelectroniccigarettes.co.uk and abcelectroniccigarettes.com I would like to use the .co.uk domain as my primary domain, The problem is is that i have a lot of hard coded links in the original abcecigs.com which i can use esspressos search and replace feature on and it shoud replace most things for the new domain , I just need some help as to how to do this I use cpanel. If someone could give me spoon fed directions you would not believe how thankfull i will be to be able to sort this out thanks guys Edited November 21, 201213 yr by cars1111
November 21, 201213 yr I would handle the domain replacement offline. cPanel is not that great as it's not easy to download folders with it, if you can, I'd recommend to use an FTP client such as the free FileZilla. Generally, the process is to (1) download your files; (2) run in the replacement on all files and (3) re-upload all files. It's also worth keeping a clean backup of the downloaded files prior to running replacment as your backup copy in case something goes wrong. Edited November 21, 201213 yr by Guest
November 27, 201213 yr Author Hi thanks for the reply sorry i thought I would have got a notification in my email but didnt so assumed no one answered, ok so i will download the public html from abcecigs.com to my desktop , replace hardcoded links (make backup first then upload the public html folder to abcelectroniccigarettes.co.uk,? What do i do once i have done this as i have links over the web pointing to abcecigs.com thanks for all your help Edited November 27, 201213 yr by cars1111
November 28, 201213 yr You set up a 301 Redirect, basically telling the search engines that you've moved permanently.
November 30, 201213 yr A much better way in my opnion is to use url_rewrite functionality. Put this 4 lines in .htaccess of old domain: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !abcelectroniccigarettes.co.uk$ [NC] RewriteRule ^(.*)$ http://abcelectroniccigarettes.co.uk/$1 [L,R=301] Hope that helps.. Martin
Create an account or sign in to comment