0

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.

Thanks.

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

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

2 Answers 2

1

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.

0

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.

Traps:

  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 that you have read and understand our privacy policy and code of conduct.

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