Title: RewriteEngine not working
Last modified: August 18, 2016

---

# RewriteEngine not working

 *  Anonymous
 * [22 years, 2 months ago](https://wordpress.org/support/topic/rewriteengine-not-working/)
 * Hi there,
    Ok, I managed to install WP on another server. Now I’m trying to setup
   nice URL but I don’t manage. I created a .htaccess file inside my weblog’s directory
   but I didn’t manage to make it work. Putting and removing lines I’ve realised
   that the problem comes when I switch on RewriteEngine. If .htaccess is empty 
   everything works fine. But if I add RewriteEngine On the server stops working
   and displays a 500 Internal Error. mod-rewrite is on because I start .htaccess
   with <IfModule mod_rewrite.c>, so the module is there… Thanks for your help! 
   🙂 Anyone know where’s the problem?

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

 *  [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/rewriteengine-not-working/#post-43438)
 * It does mean that mod_rewrite isn’t available for some reason. This is a problem
   on your server’s end, so best to check with them.
 *  [armitage](https://wordpress.org/support/users/armitage/)
 * (@armitage)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/rewriteengine-not-working/#post-43439)
 * A friend of mine runs the server, he can’t seem to figure it out… he’s been messing
   with it for sometime… any apache guru’s out there have any ideas?
 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/rewriteengine-not-working/#post-43440)
 * Can you please copy and paste the contents of your .htaccess file here? You can
   use the  to post code.
 *  [armitage](https://wordpress.org/support/users/armitage/)
 * (@armitage)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/rewriteengine-not-working/#post-43443)
 * Anyone know any reason why mod_rewrite compile but now work?
 *  Thread Starter Anonymous
 * [22 years ago](https://wordpress.org/support/topic/rewriteengine-not-working/#post-43499)
 * Double check that you have your base path set to a folder above or equal to where
   your website’s path. Most of the time, people will over look this and mod_rewrite
   will load but won’t do anything. You might double check your directory options
   too.

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: Anonymous
 * Last activity: [22 years ago](https://wordpress.org/support/topic/rewriteengine-not-working/#post-43499)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
