WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have recently moved server and upgraded my wordpress install to the latest version.

Now if I try to access /feed, I get a 404. It used to work. /?feed=atom works correctly.


UPDATE: I fixed it. Virtual host definition had AllowOverrides turned off, so .htaccess was not being picked up. Thanks all for the comments.

share|improve this question
Do your other pretty permalinks work? – John P Bloch Feb 18 '11 at 11:54
Is your .htaccess writable? – Kaaviar Feb 18 '11 at 11:56
Please put your solution in answer to the question. It is ok to answer your own question because it is more clear for those who might encounter this issue and question in the future. – Rarst Feb 19 '11 at 13:07
up vote 1 down vote accepted

Wordpress writes url rewriting rules to the .htaccess file, but apache will only use the .htaccess file if AllowOverrides is allowed for the directory where the .htaccess is located.

I enabled it by setting AllowOverride All in the virtualhost configuration, and my permalinks are now working again.

share|improve this answer

Possible solutions:

  1. Delete your existing .htaccess, and re-enable the permalinks.
  2. Like Kaaviar said, check if .htaccess is writeable, else, you may have to create it on your own.


  1. Does your new server have .htaccess and mod_rewrite enabled?
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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