WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Backend is working, index is working but all the sub links do not work (9 posts)

  1. usman123
    Member
    Posted 2 years ago #

    Hello All,

    I moved a worpdress working site from old server to new server with same domain name.

    I transferred the whole wordpress files to the new server and imported all the database tables to the new server.

    When I open the url, the site works, the backend works! But all the sublinks do not appear.
    IT SAYS "ERROR 404 - PAGE NOT FOUND"

    Please can someone share some thought on it?

    Thank you

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. usman123
    Member
    Posted 2 years ago #

    Hello esmi,

    I have read this page alot, but still I could not figure it out how to solve it, that is why I posted here :)

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Step 10: If you are using Permalinks, go to the Administration > Settings > Permalinks panel and update your Permalink structure to your .htaccess file, which should be in the same directory as the main index.php file.

  5. usman123
    Member
    Posted 2 years ago #

    Thanks,
    My .htaccess file says this.
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Now what does this mean? Sorry I didn't understood :)

    I think I am close to the problem.. Please share some thoughts

  6. usman123
    Member
    Posted 2 years ago #

    My permalink is on Custom Structure:
    /%year%/%monthnum%/%day%/%postname%/

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    Did you follow the instruction in Step 10? All you need to do is visit your Permalinks page and select Update.

  8. usman123
    Member
    Posted 2 years ago #

    Thanks!
    I was confused about .htaccess file!

    Issue is Solved!

    Thanks alot!

  9. esmi
    Forum Moderator
    Posted 2 years ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic