Title: Apache Mod Rewrite?
Last modified: August 18, 2016

---

# Apache Mod Rewrite?

 *  [craigsd](https://wordpress.org/support/users/craigsd/)
 * (@craigsd)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/)
 * Hey everyone,
 * I was told that you could use an apache mod rewrite to change your catagory links
   so they end in .html instead of .php (which is much better for search engine 
   optimization). Does anyone know how to do this?
 * Thanks!
 * Craig

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

 *  [divrom](https://wordpress.org/support/users/divrom/)
 * (@divrom)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-186788)
 * Why would you want to do that?
 *  Thread Starter [craigsd](https://wordpress.org/support/users/craigsd/)
 * (@craigsd)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187190)
 * Links that end in .html are more supposedly more search engine friendly.
 * Anyone know how to do this?
 * Thanks!
 * Craig
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187191)
 * You will have no problems at all with how WP handles the pages / archives etc
   by default.
    Many WP users here are #1 in Google searches for various things.
   A blog I installed for someone is now #1 in a fiercely competitive market so 
   worry not. The SE’s like what WP does.
 *  [Jenson](https://wordpress.org/support/users/jenson/)
 * (@jenson)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187336)
 * Under Options/Permalinks enter e.g. /%year%/%monthnum%/%day%/%postname%.html
 *  [dss](https://wordpress.org/support/users/dss/)
 * (@dss)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187337)
 * I’ve enjoyed superb google results/ranking with WP out of the box.
 * no need to do anything but write (a lot) and enjoy!
 * *shrug*
 *  [duneblog](https://wordpress.org/support/users/duneblog/)
 * (@duneblog)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187359)
 * I’ve changed under _Option/Permalink_ the entry to _/%year%/%monthnum%/%day%/%
   postname%/_. When I reload my test site on my Notebook I see that the Permalink
   is nice and tidy (e.g. [http://localhost/<myblogname>/2005/05/01/firstarticle/](http://localhost/<myblogname>/2005/05/01/firstarticle/)).
   But clicking on it brings an Error saying that _The requested URL /<myblogname
   >/2005/05/01/firstarticle/ was not found on this server_. Probably I have something
   missing in my Apache or PHP Installation.
 * Can please those cracks on Server Theme give me a help Where I have to look for
   What?
 * Many thanks in advance
 *  [Cyndy Otty](https://wordpress.org/support/users/ceo/)
 * (@ceo)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187360)
 * Is your htaccess writable? Or did you copy the code that was given to you.
    Do
   you HAVE mod_rewrite abilities?
 *  [brianbonner](https://wordpress.org/support/users/brianbonner/)
 * (@brianbonner)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187361)
 * It makes no difference. I get allot of traffic from search engines. especially
   google. but they are php file not html files so you cannot change them. WP uses
   CSS and PHP it is not a webpage per say with just html coding.
 * Make sure mod_rewrtie is installed and recompiled. make sure you have an .htaccess
   file in the same directory as your index.php.
 *  [duneblog](https://wordpress.org/support/users/duneblog/)
 * (@duneblog)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187362)
 * Thanks ceo and brianbonner,
 * To be honest I have no idea and cn’t answer you. Please could you help me navigate
   to the right place where I could have a look at to find out _mod\_rewrtie_ is
   installed?
 *  [duneblog](https://wordpress.org/support/users/duneblog/)
 * (@duneblog)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187363)
 * I forgot, please could you post me the content of an .htaccess file so I could
   put one in my folder. Thanks – Eddie

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

The topic ‘Apache Mod Rewrite?’ is closed to new replies.

## Tags

 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [mod_rewrite](https://wordpress.org/support/topic-tag/mod_rewrite/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 8 participants
 * Last reply from: [duneblog](https://wordpress.org/support/users/duneblog/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/apache-mod-rewrite/#post-187363)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
