Title: trouble changing permalink structure
Last modified: August 19, 2016

---

# trouble changing permalink structure

 *  [jaw23](https://wordpress.org/support/users/jaw23/)
 * (@jaw23)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/trouble-changing-permalink-structure/)
 * I have a blog and want to change the permalink structure (to /%postname%) but
   when I do this in the WP Dashboard and click on an article, I am getting the 
   following error message:
 * Error: Not Found
    The requested URL was not found on this server. Apache/2.2.3(
   CentOS) Server at [http://www.domainname.com](http://www.domainname.com) Port
   80
 * —
    in WP-Admin panel
 * I create my .htaccess file as instructed:
    If your .htaccess file were writable,
   we could do this automatically, but it isn’t so these are the mod_rewrite rules
   you should have in your .htaccess file. Click in the field and press CTRL + a
   to select all.
 * <IfModule mod_rewrite.c>
    RewriteEngine On RewriteBase /blog/ RewriteRule ^index\.
   php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /blog/index.php [L] </IfModule>
 * —
    NOte: the blog is in a subdirectory called ‘blog’
 * —
    normally this updates automatically, is this different because it is in a 
   subdirectory?
 * Any thoughts would be most appreciated.

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

 *  [flamenco](https://wordpress.org/support/users/flamenco/)
 * (@flamenco)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/trouble-changing-permalink-structure/#post-1817631)
 * Yeah, the way the permalinks work is pretty sensitive, what with all the .htaccess
   stuff going on. My best guess is to try adding a following slash to what you 
   have and see if that works.
 * Even then, when trying to use Categories and some other stuff, it can get messy,
   and varies with different servers. This is where excellent mod_rewite programming
   skills may come in, and that doesn’t define most of us. 🙂
 * Not exactly what you were looking for, but could work, and I think would still
   be fine for SEO.
 *  Thread Starter [jaw23](https://wordpress.org/support/users/jaw23/)
 * (@jaw23)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/trouble-changing-permalink-structure/#post-1817634)
 * I did try using the slash after it but it didn’t work either. Seems to redirect
   fine if your blog is not in a subfolder.
 * Should be an easier way to make this happen. I really don’t have too many posts
   on the blog yet.
 * And you’re right, mod_rewrite programming is definitely not my thing.
 * Any other suggestions out there?
 *  [flamenco](https://wordpress.org/support/users/flamenco/)
 * (@flamenco)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/trouble-changing-permalink-structure/#post-1817646)
 * I just tried the identical settings you have and it worked fine.
 * Something in your server settings, maybe. You could ask your host tech support
   if “AllowOverride” is on in Apache.
 * More info here, although you’re probably looking at it:
    [http://codex.wordpress.org/Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
 * Maybe PATHINFO links would work for you. (see link above). I’ve used them before.
   And you can get almost the same thing as you’re shooting for.
 * good luck, D
 *  [flamenco](https://wordpress.org/support/users/flamenco/)
 * (@flamenco)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/trouble-changing-permalink-structure/#post-1817647)
 * Gee, I also forgot a really obvious thing… if you have an .htaccess in the root
   of your site (as opposed to in /blog), that could mess something up too, depending
   on what’s in it.

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

The topic ‘trouble changing permalink structure’ is closed to new replies.

## Tags

 * [.htaccess-file](https://wordpress.org/support/topic-tag/htaccess-file/)
 * [permalink error](https://wordpress.org/support/topic-tag/permalink-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [flamenco](https://wordpress.org/support/users/flamenco/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/trouble-changing-permalink-structure/#post-1817647)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
