Title: Permalink Structure questions
Last modified: March 4, 2017

---

# Permalink Structure questions

 *  Resolved [Znelson1989](https://wordpress.org/support/users/znelson1989/)
 * (@znelson1989)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/permalink-structure-questions/)
 * I am attempting to setup postname permalinks on my site. Changing the permalinks
   in Settings->Permalinks doesn’t produce an error related to .htaccess as far 
   as I can tell (it says permalink structure update). However the links that it
   generates 404 and are not really postnames. (For instance one of my posts was
   just domain.com/95 which 404’d.
 * This is the contents of my .htaccess file
 *     ```
       # 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
       ```
   
 * I have verified mod rewrite is enabled.
 * Not sure what I am missing here.

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 1 month ago](https://wordpress.org/support/topic/permalink-structure-questions/#post-8872457)
 * Are you using a hosting company or hosting the site on your own VPS?
 *  Thread Starter [Znelson1989](https://wordpress.org/support/users/znelson1989/)
 * (@znelson1989)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/permalink-structure-questions/#post-8872480)
 * I’m on my own VPS.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 1 month ago](https://wordpress.org/support/topic/permalink-structure-questions/#post-8872557)
 * In your http/apache config file, where you define the virtual host for your site,
   add this
 *     ```
       <Directory /path/to/wordpress>
         AllowOverride All
       </Directory>
       ```
   
 * then restart apache or httpd
 * `/path/to/wordpress` is something like `/var/www/html`
 *  Thread Starter [Znelson1989](https://wordpress.org/support/users/znelson1989/)
 * (@znelson1989)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/permalink-structure-questions/#post-8872568)
 * Thank you that solved the issue.
    -  This reply was modified 9 years, 1 month ago by [Znelson1989](https://wordpress.org/support/users/znelson1989/).

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

The topic ‘Permalink Structure questions’ is closed to new replies.

## Tags

 * [Permalink structure](https://wordpress.org/support/topic-tag/permalink-structure/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Znelson1989](https://wordpress.org/support/users/znelson1989/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/permalink-structure-questions/#post-8872568)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
