Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I created the file "archive.php", but apparently never reads this file Wordpress. I tried the following URLs:

http://www.mydomain.com/2012/

http://www.mydomain.com/2012/04/

And the result is always the same: 404 page

No matter what you type in the file "archive.php", always brings me to page 404.

Can anyone help me?

share|improve this question
Check $GLOBALS['wp']->matched_rule and $wp_rewrite->rules, add the contents of these variables to your question. And do not ask in comments for further answers. – toscho Apr 15 '12 at 23:06

closed as not a real question by toscho May 13 '12 at 12:31

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

change the Permalink Settings, that's might work.

To change permalink settings:

In Wordpress admin menu:

Settings->permalinks & select " Month and name" then save chages. Hopefully this will work.

share|improve this answer
Thanks but it doesn't work :( – Rec Apr 15 '12 at 18:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.