嗨我有以下一個URL重寫工作,遺憾的是使用分頁時我的URL的SEO部分回來,而不是被迫進入301普遍的URL重寫?
RewriteRule ^catalog/html_sitemap/(.*)$ http://%{HTTP_HOST}/catalog/seo_sitemap/$1 [L,NC,P]
我嘗試下面的代碼,但它是不成功的,我錯過了什麼?
RewriteBase/
RewriteCond %{REQUEST_URI} ^catalog/seo_sitemap/(.*)$
RewriteRule http://%{HTTP_HOST}/catalog/html_sitemap/$1 [QSA,R=301,L]
缺少清楚地說明這個問題,換一個。 – cnst