In the good old days, when changing your Permalink structure (i.e. how the URLs look) in WordPress you’d need to amend the Apache .htaccess file (or equivalent) to cater for the appropriate 301 redirects (a 301 redirect states that the URL has permanently been moved to a different address which is provided). Human understandable URLs are important for Search Engine Optimization reasons. There were numerous ways of doing this including a few WordPress Plugins however the most reliable was amending the .htaccess file directly. This whole process and the ramifications of either getting it wrong or not doing it at all created huge sales for Paracetamol sellers (i.e. many headaches were created).
Resolve WordPress Permalink Headache
Recently I have needed to change the Permalink structure for a client running a WordPress 2.7.1 blog. The Permalink structure was ‘/%year%/%monthnum%/%postname%/’ and the new structure ‘/%post_id%/%postname%/’. I spent hours investigating how best to enable the appropriate 301 redirects and went crazy with finding all sorts of conflicting information so I decided just to test changing the Permalink structure in a test WordPress 2.7.1 install.
WordPress does 301 Redirect
The result: no need for any stress as WordPress handles the 301 redirect for you. You see, those clever people over at automattic (the people keeping WordPress and other great software running) have automated the whole 301 redirect issue; now there is no need for redirect plugins nor amending the .htaccess file. Change the Permalink structure in WordPress and the 301 redirect will be created for you! Happy days!!!