Forums

friendly path not working? (6 posts)

  1. jas-
    Member
    Posted 1 year ago #

    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

  2. Micah
    Member
    Posted 1 year ago #

    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.

  3. jas-
    Member
    Posted 1 year ago #

    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.

  4. Micah
    Member
    Posted 1 year ago #

    Is WordPress installed in a subdirectory or sub domain?

  5. jas-
    Member
    Posted 1 year ago #

    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?

  6. jas-
    Member
    Posted 1 year ago #

    Got it figured out.

    Had to add the .htaccess mod_rewrite for friendly links as well as enable AllowOverride in the httpd.conf file.

Topic Closed

This topic has been closed to new replies.

About this Topic