Title: Pretty permalink not working
Last modified: August 18, 2016

---

# Pretty permalink not working

 *  [kurai](https://wordpress.org/support/users/kurai/)
 * (@kurai)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/pretty-permalink-not-working/)
 * Hi there.
    It seems I can’t get permalink work on a blog I”m building. Standard
   permalinks do work, but when I switch to pretty, it gives me this error:
 * > Not Found
   > The requested URL /2007/07/13/hello-world/ was not found on this server.
   > Apache/2.2.3 (CentOS) Server at marcobertolotto.provincia.savona.it Port 80
 * Some notes:
    – Mod-rewrite is enabled – .htaccess has full access permissions–
   I tried to change vars.php according to the codex, but without success.
 * What should I do?

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

 *  [myklk](https://wordpress.org/support/users/myklk/)
 * (@myklk)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/pretty-permalink-not-working/#post-603838)
 * I’m facing the exact same problem. Regular RSS works, pretty doesn’t. Have Mod_rewrite
   enabled, .htaccess permissions.
 * Don’t know about vars.php – I’ll look into that next, but not much hope there
   now. And I’m also using CentOS.
 * So if you figure it out – please post here so I can know too.
 * Thanks.
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/pretty-permalink-not-working/#post-603839)
 * Which permalink structure were you trying. Some don’t work on less than Apache
   2.0.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/pretty-permalink-not-working/#post-603840)
 * MyklK – last CentOS server I built had mod_rewrite on by default (which is good!)
   but AllowOverrides wasn’t enabled in apache.conf for my site.
 * Have you checked to make sure it’s on for yours?
 *  [myklk](https://wordpress.org/support/users/myklk/)
 * (@myklk)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/pretty-permalink-not-working/#post-603841)
 * No – I did not check AllowOverrides in apache.conf. I’ll report back what I find.
   Thank you so much for helping out!
 * Ok – showing my stupidity. When I go into my Apache interface (Webmin) I can 
   look at what it calls the config file – which is actually httpd.conf. Is this
   the same thing? Because it says “AllowOverrides None” in there 🙁
 * I’m assuming I don’t want to change that to “All” so I’ll have to figure out 
   what lies somewhere in between. But it looks like I’m sniffing down the right
   road… very exciting.
 * I’m not a Linux Admin – but I play one on the Internet … My hosting services 
   has great tech support too if I need it (I don’t know if advertising in here 
   is appropriate so I won’t mention them.)
 *  [MarkRH](https://wordpress.org/support/users/markrh/)
 * (@markrh)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/pretty-permalink-not-working/#post-603842)
 * I was just browsing around and saw this. If your server is like mine, the $_SERVER[‘
   SERVER_SOFTWARE’] variable comes back as “WebServerX” and not “Apache”.. thus
   it thinks it can’t write to the .htaccess file to create the mod_rewrite rules
   for the permalink structures. So, I had to edit the vars.php file and force $
   is_apache to be true:
 *     ```
       // Server detection
       //$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false;
       $is_apache = true;
       ```
   

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

The topic ‘Pretty permalink not working’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 5 participants
 * Last reply from: [MarkRH](https://wordpress.org/support/users/markrh/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/pretty-permalink-not-working/#post-603842)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
