• Resolved ADorward

    (@adorward)


    I just transferred my wp site from one domain (and host) to another.
    Everything works except the homepage that still refers me to the old homepage.

    For instance, go to https://bulletpointed.com . Click on anything on that site, and it will take you to the new domain (http;//youniversityhub.com). When you click on the home link again, it takes you back to Bullet Pointed. If you click on the bullet pointed logo in the header, it takes you to the default.php file.

    wp-options in database properly has youniversityhub assigned as the homepage and site url.

    Any suggestions?

Viewing 15 replies - 1 through 15 (of 18 total)
  • ADorward,

    As I can see both domains has different IPs and you have the same website on both hosting accounts. Try to check website URL in wp-config.php file for new https://youniversityhub.com/ domain name.

    Also, may be your HOME link is in header.php template file and it’s not a wordpress variable, but is a usual link like .

    Click on Settings and general and see if you have right urls there if you do
    Click on settings and permalinks and reset you permalinks

    Oops. My link in example has been lost…

    Here it is again:
    <a href="https://youniversityhub.com/"></a>

    Thread Starter ADorward

    (@adorward)

    The correct URL is in both the wp-config file and in the general settings of the admin dashboard.

    Still have no idea why this is happening?

    Thread Starter ADorward

    (@adorward)

    permalinks are working fine.

    All the articles are on the correct domain, just the homepage isn’t.

    Thread Starter ADorward

    (@adorward)

    Ok, i just changed the host in the config file to localhost and now youniversityhub.com is now blank. I can’t even get into the dashboard.

    Did you change your database as there may be using old urls in database.

    Export your database from phpmyadmin and save as file on your computer.
    open the file in Editor like Notepad++ and search and replace all old urls with new one in whole file.
    Save the file some other name so that you still have copy of your database.
    In phpmyadmin import the saved file

    Thread Starter ADorward

    (@adorward)

    database is fine.
    all references to old are now new.

    I think it may be that your Home page is hard coded to your old url check header.php and see if it is or you can paste header.php file in https://wordpress.pastebin.com and paste the url here.

    Ok, i just changed the host in the config file to localhost and now youniversityhub.com is now blank. I can’t even get into the dashboard.

    Go back in wp-config.php and change back to the way you had before

    Thread Starter ADorward

    (@adorward)

    yes. i have restored the website. it is working now.
    except the home page is still not right.

    i checked the header.php file and there is no reference to the old.

    I have pasted the header in the following URL:
    https://pastebin.com/GY6pefCF

    Just so you know, “Newspro” is the theme.

    What’s wrong with home page now? Have you disabled it or deleted index.php file?

    Do you have any theme options in admin panel you must have got your old url in there some where.

    The other thing i notice is that when I go on https://youniversityhub.com

    takes me to place holder do you have any index.html or default.html in root.

    Thread Starter ADorward

    (@adorward)

    ya, that’s another problem.
    That is the default.php file (just copied from old domain)

    Thread Starter ADorward

    (@adorward)

    In terms of theme settings, nothing has old URL hard coded.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Transferred site still displays old homepage’ is closed to new replies.