pmhaynes

Just another WordPress site

  • Buy Adspace

WordPress change permalinks 404 error

Posted by Paul on May 6, 2014
Posted in: Wordpress.

If like me you changed your “Permalinks” and got a 404 error for all old post you probably googled it and ended up at this page

Although very useful, i did not find my answer, but it did point me in the right direction

First i checked that .htaccess file existed in the WordPress folder,

Then i checked the write permissions.

Then i made the change on the WordPress site to change the permalink and re-opened the .htaccess file.

I could see it had been altered and so knew that to was writing to the file correctly

 

My problem was the Apache2 mod-rewrite was not enabled

To enable it use:
sudo a2enmod module_name

Module name is rewite

To disable it use:
sudo a2dismod module_name

 

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Like this:

Like Loading...

Posts navigation

← How to rename a file in Linux
How to find large files in Debian →
  • Advert

  • Recent Posts

    • MS Office 2010 working links on Microsoft URL
    • Change your LAN from public to Private Profile with Powershell on Windows 10
    • How to change WordPress upload size limit
    • Routing network traffic between 2 subnets using a Raspberry Pi
    • OpenVPN setup
  • Recent Comments

    • Archives

      • March 2023 (2)
      • June 2021 (1)
      • February 2019 (1)
      • December 2018 (1)
      • March 2018 (2)
      • April 2015 (2)
      • January 2015 (1)
      • October 2014 (1)
      • June 2014 (1)
      • May 2014 (6)
      • April 2014 (2)
      • March 2014 (1)
      • January 2014 (1)
      • December 2013 (1)
      • November 2013 (6)
    • Categories

      • Linux
      • Uncategorized
      • Windows
      • Wordpress
    • Meta

      • Log in
      • Entries feed
      • Comments feed
      • WordPress.org
    Proudly powered by WordPress Theme: Parament by Automattic.
    %d