another one of my .htaccess questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lesliekirk
    Super Moderator











    • Aug 2008
    • 9289

    #1

    another one of my .htaccess questions

    I'm needing to move a WordPress blog in it's entirety out of a purposely created directly named "blog". That's the easy part. But there are hundreds of URL's that have "blog" in them that the search engines have picked up. So I've been researching the "ideal" redirect method that will catch any URL with "blog" in it and redirect it to the new URL sans "blog". I have found the following method mentioned a few times:

    //301 Redirect Entire Directory
    RedirectMatch 301 /blog/(.*) //$1
    Is this the best way to go?

    Many thanks!
    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: X | Facebook | Pinterest
Working...
X