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

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter Frank McClung

    (@fivemcclungs)

    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?

    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.

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

    Thread Starter Frank McClung

    (@fivemcclungs)

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

    I am not “frustrated” – just confused by the different links you gave… Anyway, if it works, then it’s OK.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Archives 404 error’ is closed to new replies.