• Resolved imdtracy

    (@imdtracy)


    I recently moved my site to a new host, and for some reason, the domain name is appearing multiple times in the URL address as a user clicks through the site.

    campalexander.org

    If I click on any page within the site, let’s say the “support us” tab, and then click the logo to go back to the home page, I see “https://campalexander.org/support-us/campalexander.org” in the address bar, and get a “page not found error”.

    I also get a 404 error if I edit a page, and then click “view page”. For example, if I edit the “support us” page, and then click “view page”, I see https://campalexander.org/wp-admin/campalexander.org/support-us/ in the URL bar.

    I’ve tried reinstalling WordPress, switching themes, and deactivating all plugins with no luck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter imdtracy

    (@imdtracy)

    Found the issue! Went into phpMyAdmin, selected my database and then the wp_options table, and checked the addresses for both ‘siteurl’ and ‘home’. The ‘siteurl’ had https:// in front of the domain name, but ‘home’ did not. Added https:// in front the domain name next to ‘home’ and it resolved the problem.

    CypressWebs

    (@jmeyer2485)

    Awesome!

    Please mark as resolved

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Domain name is appearing twice in URLs’ is closed to new replies.