Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    17
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default 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 :)
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  3. #3
    Join Date
    Mar 2009
    Posts
    17
    Plugin Contributions
    0

    Default 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 :)

  4. #4
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default 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.
    That wasn't the plan!

  5. #5
    Join Date
    Mar 2009
    Posts
    17
    Plugin Contributions
    0

    Default 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! :)

  6. #6
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Domain Name Changed

    Quote Originally Posted by Cannie View Post
    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
    Last edited by LissaE; 14 Apr 2010 at 06:58 AM. Reason: added stuff :P
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  7. #7
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default 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:
    Code:
    # 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:
    Code:
    # 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.

 

 

Similar Threads

  1. Admin login failing when domain name is changed
    By Fooey in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Dec 2009, 08:52 PM
  2. Changed domain name, site not coming up
    By Chestnut Junction in forum Basic Configuration
    Replies: 1
    Last Post: 23 Nov 2009, 08:35 AM
  3. Changed domain name zencart not showing up
    By jasong in forum General Questions
    Replies: 2
    Last Post: 18 Aug 2009, 05:44 PM
  4. Changed Domain Name can't get into Admincp
    By anna.maria in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 9 Apr 2008, 11:06 PM
  5. Just changed Domain Name...help
    By aussie5353 in forum General Questions
    Replies: 1
    Last Post: 7 Feb 2007, 10:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg