• Resolved qualitymove13

    (@qualitymove13)


    I had backed up and restored (via ftp) my wp-admin, wp-contents, wp-includes, and .htaccess files but I am now getting a 404 error on every page but the home page. I did have to create a new .htaccess file as it was corrupt but after resetting the permalinks via the database (since I cant access wp-login.php page) but I am still not able to connect to any page. Linked is my file structure and maybe you can help locate the issue. Thanks in advance!

    https://drive.google.com/open?id=0B8kOQHzoKnRaRTB4c3NtMGpKQ1U

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter qualitymove13

    (@qualitymove13)

    Also, the site is:

    https://www.canigliahvac.com

    404 at every link. For example:

    https://www.canigliahvac.com/about-us

    Theme Author Styled Themes

    (@gejay)

    Dear qualitymove13,

    First try deactivating plugins and check if there is any plugin conflict with this issue. If you didn’t find your luck on this then you need follow following steps:

    This might me the permalink issue,so if you are able to logged then go to dashboard -> setting -> permalink -> and apply with post name once again.

    If this issue doesn’t help then you can manually update the htaccess file with this content:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPres

    you can see this link for more reference : https://codex.www.ads-software.com/htaccess

    Let us know how it goes for you.

    Thanks

    Thread Starter qualitymove13

    (@qualitymove13)

    Thank you for this. What value should the permissions on the .htaccess file be?

    I cant log into my dashboard because I get a 404 on that page as well. I can get in through the database but am not sure what value to set the permalinks there. It is now set as /%postname%/

    Thanks again for the help. I am at a loss.

    Theme Author Styled Themes

    (@gejay)

    Hi @qualitymove13

    You can take reference of this article to change permalink structure on database:

    https://tech.shawnlelle.com/resetting-wordpress-permalinks/

    Thanks

    Thread Starter qualitymove13

    (@qualitymove13)

    Thank you for this. I ended up doing a full restore and this fixed any issue.

    Theme Author Styled Themes

    (@gejay)

    You’re welcome !!!
    Please feel free to contact us if you have any queries further.

    Best regards,
    Styled Themes

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘404 Error’ is closed to new replies.