Title: another Permalink headache
Last modified: August 21, 2016

---

# another Permalink headache

 *  Resolved [Captaion](https://wordpress.org/support/users/edmondswa/)
 * (@edmondswa)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/another-permalink-headache/)
 * I’ve read many, many posts but still can’t get postname URLs to work. Default
   in admin is to include blog DIR, like /blog/%postname%/
 * I’ve played around with htaccess with 644:
    BEGIN WordPress <IfModule mod_rewrite.
   c> RewriteEngine On RewriteBase /blog RewriteRule ^index\.php$ – [L] RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.
   php [L] </IfModule> END WordPress
 * Also changed $base in wp-config from / to /blog. My site is set as network so
   may be additional issues to consider.
 * Super awesome if someone has the magic steps or thoughts.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Captaion](https://wordpress.org/support/users/edmondswa/)
 * (@edmondswa)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/another-permalink-headache/#post-5124477)
 * I fixed it with two things.
    1) Working too quickly and missed the comment out
   for BEGIN and END 2) Did not need the /blog as part of the RewriteBase.
 * Here is what worked:
 * # 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
 * FYI
    From my testing the wp-config worked with either / or /blog, but I switched
   it back to default of /

Viewing 1 replies (of 1 total)

The topic ‘another Permalink headache’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Captaion](https://wordpress.org/support/users/edmondswa/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/another-permalink-headache/#post-5124477)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
