I recently updated to a different domain on my wordpress blog.

Unfortunately, all my old posts are now broken and I've tried everything.

I've ran the search and replace tool for old references and updated, still to no avail. I'm also unable to publish new posts at all.


As you can see, all the posts are 404 now. I've updated permalinks as well.

1 Answer 1


It seems like you are having permalinks issue which is usually occur due to .htaccess file. Can you please go to the Settings -> Permalinks and press update. Make sure your .htaccess file is writeable, usually wordpress show warning on that page if file is not writeable. If its not writeable you will get code on that page at the bottom which you have to place manually in .htaccess file.

.htaccess file can be found in your wordpress folder where wp-config.php file resides.

  • I did update permalinks. I believe htaccess is writeable as I have not received any erorrs. Feb 12, 2019 at 16:35
  • Fixed by modifying the apache config Feb 12, 2019 at 17:33
  • 1
    aahh. that might be the next thing i would have asked you to check the Apache config. happy that you got it resolved.
    – M Haseeb
    Feb 13, 2019 at 13:25

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.