• My blog has been around since 2005, and at this point I’m having an issue with permalinks. At some point, I changed them – probably a few years ago, and now I’m noticing a ton of 404 errors.

    I’m currently using %postname%, but there are lots of links out there that, for an unknown reason, didn’t have the %monthnum% from the old /%year%/%monthnum%/%postname%/ stripped off when the permalinks were changed.

    Now I’ve either got to do hundreds of redirects, or come up with a way to strip those old month digits off with .htaccess if they are present. If anyone could tell me how to do this, I would be very appreciative.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think you could probably achieve a fix using mod rewrite and htaccess but I’m not sure exactly how to do it, sorry.

    That might put you on the right track though…

    Peter

    Thread Starter PdxFoodDude

    (@pdxfooddude)

    That’s what I’m thinking. Unfortunately my knowledge of mod rewrite is nill.
    Thanks for responding. Anyone else?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to drop first two characters from url’ is closed to new replies.