WordPress.org

Ready to get started?Download WordPress

Forums

I get a 404 error on posts. (4 posts)

  1. Jeremy
    Member
    Posted 1 year ago #

    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?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. jhonson
    Member
    Posted 1 year ago #

    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.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    No - that has nothing to do with this issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags