Support » Fixing WordPress » Mod Rewrite Help for Moved blog

  • Resolved dprior


    Hi all,

    I’ve searched but haven’t been able to come up with much that has helped. Up unti today I had wordpress installed in I have now moved it to the root. Everything is working just fine.

    The only remaining issue is that I want all requests for<whatever>/<is>/<here> to be redirected to<whatever>/<is>/<here>.

    I know this is a question about rewrite more than wordpress, but I was hoping someone here could help. What’s the rewrite rule I should use to accomplish this? Should I put it before the rewire rules that wordpress told me to paste into my .htaccess files or after? Thanks in advance.

Viewing 1 replies (of 1 total)
  • I believe I figured it out after much playing with the mod-rewrite rules. I added this as the last rule:

    RewriteRule ^blog/(.*)$ /$1 [R=301,NC]

    Looks like it’s working.

Viewing 1 replies (of 1 total)
  • The topic ‘Mod Rewrite Help for Moved blog’ is closed to new replies.