web analytics

Blog

WordPress posts returns “404 Error”

Tags: permalinkswordpresswp 404 erors

Published on: October 9, 2014 by George K.

WordPress posts returns “404 Error”

Scenario:

Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings. A permalink is what another weblogger will use to link to your article (or section), or how you might send a link to your story in an e-mail message. The URL to each post should be permanent, and never change — hence permalink. Take a look at how to fix the WordPress permalink 404 error

You may get a 404 page on posting content in your WordPress installation if you are missing the .htaccess contents inside the folder.

1. The following permalink rewrite code should be included in your .htaccess file:

WordPress .htaccess


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

 

If the Permalink Rewrite Code is not in .htaccess file, a Not Found error will be returned. So make sure permalinks are added to .htaccess always

2. Redirect Loop not working (Loop goes never ending cases)

This is an another issue with WordPress installation. To fix the issue try the following steps given below,

Check Permalinks from WP-Admin. Go to Dashboard -> Settings -> Permalink Settings -> Common Settings.

 

Happy blogging !!! 🙂

Category : Apache, Howtos, Troubleshooting

George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Get new updates

Categories

$0.000 items