It would rewrite all "example.com/blog/xxx" to "example.com/xxx"
RewriteRule ^blog/(.*)$ /$1 [R=301,NC,L]
"^blog/(.*)$" part finds the blog folder URLS
"/$1" part repeats the slug after the...
Type: Posts; User: ih82lose
It would rewrite all "example.com/blog/xxx" to "example.com/xxx"
RewriteRule ^blog/(.*)$ /$1 [R=301,NC,L]
"^blog/(.*)$" part finds the blog folder URLS
"/$1" part repeats the slug after the...
Something like this might work, but I didnt test it:
RewriteRule ^blog/(.*)$ /$1 [R=301,NC,L]