2012-08-31 82 views

回答

0

將這個(上述任何WordPress的規則,你可能有)在htaccess的文件在您的文檔根目錄:

RewriteEngine On 
RewriteCond %{QUERY_STRING} slider=([^&]+) 
RewriteRule ^$ /news/%1? [R=301,L] 
+0

OK,加入以上後,滑塊圖像不再去空白「滑塊郵報」 。 – marvivostudio

+0

當我點擊圖片現在它重新加載我的主頁和http://mysite.com/?slider=post-slug相同的URL仍然出現在網址欄中。從技術上講,我需要它去http://mysite.com/news/post-slug/ – marvivostudio

+0

@marvivostudio你的其他規則之一是這樣做的。 –

相關問題