Keeping old URLs

For /blog/*, the below rule on .htaccess works:

RewriteRule ^blog/(.*)$ $1 [R,L]

more research: http://stackoverflow.com/questions/6194371/wordpress-multisite-rewrite-rules

Comments

One response to “Keeping old URLs”

  1. Yongho Kim Avatar

    also added:

    RewriteCond %{HTTP_HOST} ^nakasec\.org [nc]
    RewriteRule ^blog/wp-content/files/(.*)$ http://nakasec.org/wp-content/uploads/sites/3/$1 [R=301,NC,L]
    RewriteCond %{HTTP_HOST} ^www\.nakasec\.org [nc]
    RewriteRule ^blog/wp-content/files/(.*)$ http://nakasec.org/wp-content/uploads/sites/3/$1 [R=301,NC,L]

Leave a Reply

Your email address will not be published. Required fields are marked *