Title: Permalinks &#8211; Postname Not Found
Last modified: August 21, 2016

---

# Permalinks – Postname Not Found

 *  Resolved [craig.keefner](https://wordpress.org/support/users/craigkeefner/)
 * (@craigkeefner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/permalinks-postname-not-found/)
 * Only “Default” PermaLinks work..Looked at htaccess and also httpd.conf and baffled.
   404 Not Found. All I can think is canonical somehow problem. Surely it is something
   simple I have neglected in my first WP install. Otherwise I think I need to install
   AskApache-Debug?
 * The apache module for rewrite is active/works though it is not a .c file but 
   a .so file
 * Craig
 * Running WP 3.8.1
    Apache/2.2.15 (CentOS) Server .htaccess # 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 WordPress
 * httpd.conf (xxxxx.xxx subbed for actual servername)
    <VirtualHost *:80> ServerName
   xxxxxx.xxx ServerAlias [http://www.xxxxx.xxx](http://www.xxxxx.xxx) DocumentRoot/
   var/www/html/sites/xxxxx.xxx ErrorLog logs/xxxxx.xxx-error_log CustomLog logs/
   xxxxx.xxx-access_log common RewriteEngine On RewriteOptions Inherit AllowOverride
   All </VirtualHost>

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/permalinks-postname-not-found/#post-4764518)
 * Check that mod_rewrite is running on your server.
 *  Thread Starter [craig.keefner](https://wordpress.org/support/users/craigkeefner/)
 * (@craigkeefner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/permalinks-postname-not-found/#post-4764527)
 * It’s loaded and running. I’ll write up something to actually test it and make
   it do it.
 * Craig
 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/permalinks-postname-not-found/#post-4764636)
 * Now from command line you should enable rewrite_mod by typing (you need to be
   root)
    `a2enmod rewrite`
 * and then restart apache by
    `/etc/init.d/apache2 restart`
 *  Thread Starter [craig.keefner](https://wordpress.org/support/users/craigkeefner/)
 * (@craigkeefner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/permalinks-postname-not-found/#post-4764638)
 * Nope. Thanks but something else. This is Centos so that A2 module doesn’t exist.
   Problem was in the httpd.conf there is a specific location where the OverrideAllow
   All has to go. I had it in the Virtual Host section so no workey.. All fixed 
   and rewriting…
 * Problem solved solution fixed. Human ignorance though that conf file is super
   long. I also needed in the default Centos Apache install add in the DOM module
   for SEO Yoast to php.ini to wrap up detail.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Permalinks – Postname Not Found’ is closed to new replies.

## Tags

 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 4 replies
 * 3 participants
 * Last reply from: [craig.keefner](https://wordpress.org/support/users/craigkeefner/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/permalinks-postname-not-found/#post-4764638)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
