Support » Networking WordPress » Permalinks are all messed up. Found fix – Need help

  • So I have a ton of broken links due to a recent move to Mu, or rather due to my site having run for so long, and having been moved many times.

    Regardless, I found a solution for the problem: http://www.lancelhoff.com/wordpress-removing-post-date-from-permalinks/

    The only problem I have now is knowing where to put the .htaccess file in my site structure. I’m running WordPress as a multisite(mu) install and only one of my sites needs this fix. So I’m not sure where in structure to place this fix.

    Any help?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    The only problem I have now is knowing where to put the .htaccess file in my site structure.

    Put it in the same folder as your wp-config.php file.

    Thanks for the comment but that doesn’t help. Will this change to my .htaccess effect all the blogs on my install? or just the one I want it too? I only see one wp-config.php file, so I assume if I put it there, it will effect all of them.

    or maybe it doesn’t matter?

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    In multisite, when you change the permalinks on one of the sites, you do not need to update the htaccess file.

    Just go change the permalink settings on that blog and try it…

    Andrea_r Already did, and didn’t work.

    Now I’ve uploaded to the root .htaccess file: RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/([a-z0-9\-/]+) http://catavino.net/$1

    Which seems to have fixed the problem, though I need to see if the other sites were effected.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Andrea, I think he’s talking about redirecting OLD posts to the NEW location 🙂

    I have this:

    RewriteRule ^blog/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ http://domain.com/blog/$1/$4 [L,R=301]

    Which takes http://domain.com/blog/2011/01/01/postname and turns it into http://domain.com/blog/2011/postname

    I put that in my .htaccess ABOVE the call for WordPress. Works fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalinks are all messed up. Found fix – Need help’ is closed to new replies.