• 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)
  • 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-

    (@jas-)

    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.

    Is WordPress installed in a subdirectory or sub domain?

    Thread Starter jas-

    (@jas-)

    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-

    (@jas-)

    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.