WordPress.org

Ready to get started?Download WordPress

Forums

Archives 404 error (7 posts)

  1. Frank McClung
    Member
    Posted 7 years ago #

    I'm trying to link to Archives from the top right corner nav of the main page here:
    the blog

    but keep getting the 404 error. I'm sure it has something to do with permalinks I've set up (here are my settings):

    Custom Field
    /%year%/%monthnum%/%day%/%postname%/

    and my htaccess file here:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress

    But can't for the life of me figure out what I'm doing wrong. Could someone please help?

  2. moshu
    Member
    Posted 7 years ago #

    No, you are not trying to link to the Archives! You are trying to link directly to a template file - which is a big NO-NO!

    You may only link to the Page created by using that Page template.

  3. Frank McClung
    Member
    Posted 7 years ago #

    Ok. Could you give me an example of the proper link to get to the page created using that Archives template?

    Here is the same theme I'm using (without permalinks):

    mandikaye.com

    And their archive page:

    mandikaye.com archive page

    So what would my permalink page created for Archive be?

  4. moshu
    Member
    Posted 7 years ago #

    Links missing...

    A Page is a Page. Period.
    You go into admin > Write > Write Page and create a new (empty) Page AND select from Page Templates (on the right) the "Archives" template. Then you go to view that Page and notice the URL where you are. That will be the url you want in the link.

  5. moshu
    Member
    Posted 7 years ago #

    p.s. It is already corrected - it links to the yearly (2007) archive.

  6. Frank McClung
    Member
    Posted 7 years ago #

    Thanks for the help. I've got it now. Sorry to frustrate you.

  7. moshu
    Member
    Posted 7 years ago #

    I am not "frustrated" - just confused by the different links you gave... Anyway, if it works, then it's OK.

Topic Closed

This topic has been closed to new replies.

About this Topic