WordPress.org

Support

Support » How-To and Troubleshooting » I get a 404 error on posts.

I get a 404 error on posts.

  • I get this error on all my pages and posts on my site…

    Not Found

    The requested URL /hotel-transylvania/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I can get to the homepage, but i can’t get anywhere else.

    I have another site running the same exact theme and almost same exact plugins.

    Do you guys need the site URL’s?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    Try resetting your custom permalinks back to the default setting via Settings -> Permalinks. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

    open cpanel and edit the .htaccess file
    copy this code

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} ^wp-content.*
    RewriteCond %{REQUEST_FILENAME} ^wp-admin.*
    RewriteCond %{REQUEST_FILENAME} ^wp-include.*
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    if .htaccess file r not search go to cpanel after file manager click hidden file after clicking the file manager,then .htacess file are shown in public_html folder.

    esmi

    @esmi

    Forum Moderator

    No – that has nothing to do with this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I get a 404 error on posts.’ is closed to new replies.
Skip to toolbar