404 on WordPress post permalinks

I’m getting a 404 when I click permalinks to my posts. I updated the .htaccess file per the documentation instructions but I still get them. That .htaccess code is in my /blog/ directory.

In my wp-admin control panel, I have it configured to do “post name” permalinks. The post permalinks work fine when I use the default, but they are 404’ing when I use the “post name” permalink setting.

Read More

Background: I’m on Apache/2.2.20 (Ubuntu) Server.

Related posts

Leave a Reply

4 comments

  1. Just updating the .htaccess file would not do the trick. You need to find out if your mod_rewite.c module is enabled. If not, you need to enable it by going to console and typing in this:

    sudo a2enmod rewrite
    

    and afterwards restart your apache server.

    service apache2 restart
    

    If even that doesnt work, probably your userdir module is not enabled. For this reason you need to enable it

    sudo a2enmod userdir
    

    and then try enabling the rewrite module if still not enabled.

    You can read up on this further here.

  2. If only the “post name” setting doesn’t work, it might be due to a conflict, maybe you have a post with a name that’s also present on another post, page or category.

  3. I Got Answer. It’s easy only.

    1) Go to WAMP logo in right-bottom of Task-bar of Windows.

    2) Click left button

    3) then Apache -> Apache Modules

    4) Tic(select) the rewrite_module

    5) that’s all.