Forums / General Questions / Domain Name Changed

Domain Name Changed

Locked
Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Apr 2010, 04:53
#1
cannie avatar

cannie

New Zenner

Join Date:
Mar 2009
Posts:
17
Plugin Contributions:
0

Domain Name Changed

Hi,

I purchased a new domain name and had lunarpages change this to the primary domain. I have read a lot of threads about this and changed the config files in the includes and admin/includes to use the correct "new" domain name. There are no addon domains or anything else. Just simply the domain was changed. The site is not coming up, it is just the links (and very slowly at that). I also did the fix cache key and it says no changed were required. I've included the link below. does anyone have a clue what could be going on. The site was fine until the domain name was changed.

http://lovelemonslife.com/store/


Regards,
Candace
14 Apr 2010, 05:11
#2
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Posts:
814
Plugin Contributions:
0

Re: Domain Name Changed

All the links are referencing what I assume is your old site, so it doesn't look like the changes to the config have taken.

Sometimes when you update the configure files the changes don't take on the server because of the permissions, I have found I have to delete the configure file from the server prior to uploading the changed one...hope that helps :)
14 Apr 2010, 05:43
#3
cannie avatar

cannie

New Zenner

Join Date:
Mar 2009
Posts:
17
Plugin Contributions:
0

Re: Domain Name Changed

So simple....thank you!

I guess once you look at something so much you start going crazy. Problem solved!

Thanks again :)
14 Apr 2010, 05:46
#4
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Posts:
604
Plugin Contributions:
0

Re: Domain Name Changed

Is yo admin working?

If so login then Tools > Developers Tool Kit

Then Look-up in all files.

Type in your OLD web address.

You will then see what and if anything more needs to be changed to the new domain name.

Seems of that the fix cache key found nothing?

perhaps the config changes didn't save? If thats the case your permissions might need to be changed on the files then edit and then return permissions to setting.
14 Apr 2010, 05:53
#5
cannie avatar

cannie

New Zenner

Join Date:
Mar 2009
Posts:
17
Plugin Contributions:
0

Re: Domain Name Changed

Thanks, I forgot about that. I've obviously been messing with this too long to think clearly. Thanks for the help! :)
14 Apr 2010, 05:57
#6
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Posts:
814
Plugin Contributions:
0

Re: Domain Name Changed

Cannie:

So simple....thank you!

I guess once you look at something so much you start going crazy. Problem solved!

Thanks again :)


You're welcome :)

Your Home link still points to the old site, that might be hard-coded in your header template though...the one next to the Custom Stuff link, I didn't see the one at the top with the white text till after I posted lol
14 Apr 2010, 07:22
#7
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Posts:
449
Plugin Contributions:
0

Re: Domain Name Changed

Here's where Google's WebmasterTools console can really help you over the coming months.

Sign up and then register and verify exampleoldsite.com, www.exampleoldsite.com, examplenewsite.com and www.examplenewsite.com.

Keep a very close eye in the internal linking reports. You'll soon see if there are any stray links pointing to the wrong place.

Check what is listed in Google using:
site:exampleold.com -inurl:www
site:www.exampleold.com
site:examplenew.com -inurl:www
site:www.examplenew.com

You're looking for the new site numbers to go up quickly. The old site numbers will reduce very slowly. That is normal.

Additionally set up a 301 redirect from the old domain name to the new domain name to preserve traffic because the old site will remain listed for several months.

Assuming ZC is not installed in a folder:
# Index Redirect for /index.php with no parameters
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.example.com/? [R=301,L]

# Index Redirect for /(index.php)?main_page=index(&cPath=<blank>) URL
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(index\.php)?\?main_page=index(&cPath=)?\ HTTP/
RewriteRule ^(index\.php)?$ http://www.example.com/? [R=301,L]

# Canonical Redirect non-www to www [EXCLUDE /admin requests]
RewriteCond %{HTTP_HOST}   !^(www\.example\.com)?$
RewriteCond %{REQUEST_URI} !^/admin [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]


If ZC is installed in a folder:
# Index Redirect for /zencart/index.php with no parameters
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /zencart/index\.php\ HTTP/
RewriteRule ^zencart/index\.php$ http://www.example.com/zencart/? [R=301,L]

# Index Redirect for /zencart/(index.php)?main_page=index(&cPath=<blank>) URL
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /zencart/(index\.php)?\?main_page=index(&cPath=)?\ HTTP/
RewriteRule ^zencart/(index\.php)?$ http://www.example.com/zencart/? [R=301,L]

# Canonical Redirect non-www to www [EXCLUDE /zencart/admin requests]
RewriteCond %{HTTP_HOST}   !^(www\.example\.com)?$
RewriteCond %{REQUEST_URI} !^/zencart/admin [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]


This will redirect all page requests for any hostname other than exactly "www.example.com" to the exact same page on "www.example.com".

The code also corrects Duplicate Content issues with the root index page.

If your site uses "example.com" instead of "www.example.com" you will need to edit every occurance of the domain name to remove the www part in the above code.