WordPress.org

Ready to get started?Download WordPress

Forums

404 After Site Move (6 posts)

  1. Matt-14
    Member
    Posted 2 months ago #

    Hi, I just moved sites from a reseller account over to an addon domain for another account. After uploading to the given directory I can view the home page fine but any deeper links come up as 404s including the admin login page. I am guessing this has something to do from going from public_html to public_html/site. If someone could point me in the right direction for resolving this issue it would be greatly appreciated. Thanks in advance.

  2. Peninah
    Member
    Posted 2 months ago #

    Does that mean you can't login?

  3. virendra930
    Member
    Posted 2 months ago #

    do you changed your site-url and home-url ??

  4. Matt-14
    Member
    Posted 2 months ago #

    Hi, no I cannot log into my admin area. And no the URL was not changed, nor was the home URL. Thanks

  5. Cyril Washbrook
    Member
    Posted 2 months ago #

    And no the URL was not changed, nor was the home URL.

    You need to change them. Otherwise WordPress will always try to send you to the wrong URLs. See the Codex guide for how to do this without admin area access.

    You may also need this guide if you've moved WordPress into its own subdirectory but don't want that subdirectory to appear in URLs.

  6. virendra930
    Member
    Posted 2 months ago #

    You can change in wp-config.php just add this code and replce your domain name in it ndbe sure to use "http://" it is compulsary

    define( 'WP_SITEURL', 'http://example.com/wordpress' );
    define( 'WP_HOME', 'http://example.com/wordpress' );

Reply

You must log in to post.

About this Topic