0
我想從example.com/video_player/vidinfo/456/game/halo-reach-coop-walkthrough-gameplay-in-hd/vtype/sd/
我的所有網頁重定向example.com/video_player/vidinfo/456/game/halo-reach-coop-walkthrough-gameplay-in-hd/
301重定向使用htaccess的
使用301〜htaaccess重定向,任何幫助表示讚賞。謝謝
我想從url中刪除vtype/sd/
,因爲我已經爲此目的在Flash視頻播放器中添加了一個按鈕。
這是我目前使用我的htaccess
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^video_player/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /video_player.php?$1=$2&$3=$4&$5=$6
RewriteRule ^video_player/(.*)/(.*)/(.*)/(.*)/$ /video_player.php?$1=$2&$3=$4
爲什麼你寫的'example.com'? http://www.google.com/search?q=video_player%2Fvidinfo%2F456%2Fgame%2Fhalo-reach-coop-walkthrough-gameplay-in-hd%2Fvtype%2Fsd – Boldewyn 2010-09-12 12:03:42