Skip to content

WordPress Permalink Changes

While upgrad­ing my Word­Press install­a­tion, I decided that the permalink structure’s inclu­sion of the “/archives” string was super­flu­ous. http://www.laurenwood.org/anyway/2007/10/04/sample-post/ con­tains as much rel­ev­ant inform­a­tion as http://www.laurenwood.org/anyway/archives/2007/10/04/sample-post/. So I changed the permalink struc­ture, and also installed Dean’s Permalinks Migra­tion to take care of the 301 redir­ec­tion of links to the old URLs. So far it seems to work fine; if you don’t like your permalink struc­ture any more but don’t want to risk people get­ting 404s, try it out.

{ 4 } Comments

  1. Asbjørn Ulsberg | Oct 04, 2007 at 11:36 pm | Permalink

    I agree that the “archives” part is super­flu­ous. What I’d like to get rid of, though, is the “cat­egory” part that for some reason needs to be in the URL of all cat­egory pages. It too is super­flu­ous, at least out­side of Word­Press (as in gen­eral URI design), but for some mys­tical reason, Word­Press requires it.

  2. Lauren Wood | Oct 05, 2007 at 9:17 am | Permalink

    Good point; I have no idea why that’s neces­sary. If you find out, could you let me know?

  3. Asbjørn Ulsberg | Oct 09, 2007 at 1:28 am | Permalink

    Sure!

  4. Lauren Wood | Oct 26, 2007 at 10:50 am | Permalink

    It seems to be there to ensure there aren’t name clashes between cat­egor­ies and Pages. If you’re com­fort­able hack­ing the PHP, try the fix at
    http://wordpress.org/support/topic/108875

    I thought it was work­ing for me; turns out (at least with 2.3.1) that click­ing on the link doesn’t take you to the right spot, so I have to do some more dig­ging when I have time.

Post a Comment

Your email is never published nor shared. Required fields are marked *