0
我想重定向鏈接到domain.com/tag/*到domain.com/blog/tag/* (其中*是實際的標籤名稱 - 例如音樂,所以domain.com/tag/music將重定向到domain.com/blog/tag/music)我如何301重定向domain.com/tag/*到domain.com/blog/tag/*
我一直在嘗試,但我無法環繞我的頭它。
我想重定向鏈接到domain.com/tag/*到domain.com/blog/tag/* (其中*是實際的標籤名稱 - 例如音樂,所以domain.com/tag/music將重定向到domain.com/blog/tag/music)我如何301重定向domain.com/tag/*到domain.com/blog/tag/*
我一直在嘗試,但我無法環繞我的頭它。
RewriteRule ^tag/(.*) /blog/tag/$1 [L,R=301]