• I have two website domains hosted on a single go daddy hosting account.

    The primary domain is https://www.moonbaycondos.org
    The secondary domain is https://www.aegyptiblog.info and it is hosted on a sub-directory of the root host called aegypti

    If I go to https://aegyptiblog.info I get to the homepage of my WordPress blog and the correct address appears in the URL. However when I log in or go to a page posting the correct page appears but with the incorrect address. The address starts of with https://www.moonbaycondos.org/aegypti.

    The go daddy helpdesk informed me that I have set my domains up correctly on their server and the problem is with WordPress. Any help would be greatly appreciated.

    Regards

    Alan

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

    (@bid19123)

    I have now further complicated the problem by altering the settings of the website in order to try and fix the problem. I altered the path from http//moonbaycondos.org/aegypti to http//aegypti and now cant access the dashboard or any page other than the main!

    Please help

    Thanks

    Alan

    You can go into your database and make sure that the Home and Siteurl are correct. If you are not comfortable with browsing and editing the database directly, then you can try the suggestion below, which may help get the site back up so that you can correct it the “right way”.

    Either through an FTP client, or your GoDaddy file manager, locate the wp-config.php file (in the root directory of your WordPress installation). Inside that file, add the following two lines to the bottom of that file.`

    define( 'WP_HOME', 'https://www.yourpath.com' );
    define( 'WP_SITEURL', 'https://www.yourpath.com' );

    Once you have that set, you should then be able to access the dashboard of the admin area. Ideally, you should make this change in the database, because once you make the change in the wp-config.php file, the option fields inside the admin dashboard will be disabled. If you choose to edit the file rather than edit the db, just make sure that you change the file manually should your path change in the future.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong URL in posts’ is closed to new replies.