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.

  • Do your other pretty permalinks work? Commented Feb 18, 2011 at 11:54
  • 1
    Is your .htaccess writable?
    – Kaaviar
    Commented Feb 18, 2011 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
    Commented Feb 19, 2011 at 13:07

2 Answers 2


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.


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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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