Title: friendly path not working?
Last modified: August 19, 2016

---

# friendly path not working?

 *  [jas-](https://wordpress.org/support/users/jas-/)
 * (@jas-)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/friendly-path-not-working/)
 * Not sure why this is as I am a new wordpress user. When trying to create a custom
   theme I am going through and setting up categories and pages to use within the
   theme as static components.
 * However as I try to use the ‘preview’ button and even try to link directly to
   the page and/or category I created I am getting 404 errors.
 * Do I need to customize the ‘category.php’ and ‘page.php’ file to reflect the ‘
   index.php’, ‘header.php’ and ‘footer.php’ changes?
 * Thanks in advance

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

 *  [Micah Wood](https://wordpress.org/support/users/woodent/)
 * (@woodent)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/friendly-path-not-working/#post-1650977)
 * You shouldn’t have to make any changes to your template files to get rid of 404
   errors, unless you have hard-coded links into it.
 * Perhaps if you provided a link to your site, I could be more helpful.
 *  Thread Starter [jas-](https://wordpress.org/support/users/jas-/)
 * (@jas-)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/friendly-path-not-working/#post-1650994)
 * I do have hard coded links in the navigation. But it doesn’t make sense to me
   that after posting a new blog entry then pressing the preview button that I would
   receive 404 errors.
 *  [Micah Wood](https://wordpress.org/support/users/woodent/)
 * (@woodent)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/friendly-path-not-working/#post-1650997)
 * Is WordPress installed in a subdirectory or sub domain?
 *  Thread Starter [jas-](https://wordpress.org/support/users/jas-/)
 * (@jas-)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/friendly-path-not-working/#post-1650998)
 * A sub-directory.
 * I would provide a link but it is on a non-routeable net.
 * Should I try to move it to the root web directory?
 *  Thread Starter [jas-](https://wordpress.org/support/users/jas-/)
 * (@jas-)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/friendly-path-not-working/#post-1651035)
 * Got it figured out.
 * Had to add the .htaccess mod_rewrite for friendly links as well as enable AllowOverride
   in the httpd.conf file.

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

The topic ‘friendly path not working?’ is closed to new replies.

 * 5 replies
 * 2 participants
 * Last reply from: [jas-](https://wordpress.org/support/users/jas-/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/friendly-path-not-working/#post-1651035)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
