Changing WordPress URL structure while maintaing the proper 301 redirects with mod_rewrite
snippet in htaccess

Changing WordPress URL structure while maintaing the proper 301 redirects with mod_rewrite

user8760

RewriteRule /blog/.+-(\d+)$ /blog/?pid=$1