Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12488

Reply To: Random General Questions

$
0
0

I tested several different scenarios with WP Permalinks and WP internal rewriting and I see the same thing where only the main site URL is redirecting to other site’s main URL using this code:  RedirectMatch 301 ^/$ http://example.com/$1.  So creating individual additional redirect rules would be the best method to ensure that all old URL’s are redirected to the new URL’s.

RedirectMatch 301 ^/$ http://example.com/$1
RedirectMatch 301 ^/post-name-1/$ http://example.com/post-name-1/
RedirectMatch 301 ^/post-name-2/$ http://example.com/post-name-2/
  • This reply was modified 17 hours, 11 minutes ago by Profile photo of AITpro Admin AITpro Admin.

Viewing all articles
Browse latest Browse all 12488

Trending Articles