2013-05-14 119 views
0

是我的重定向htaccess的與我瀏覽 我example.net/video/1,然後將重定向我example.net/abc/redirect.php與目錄的.htaccess重定向到查詢字符串下面

Options +FollowSymLinks 

RewriteEngine on 
RewriteCond %{Request_URI} /picture?$ 
RewriteRule^http://example.net/abc/redirect.php [L,R=301] 

呃如果我需要這樣的東西......當我瀏覽通過這個鏈接 http://example.net/picture/1http://example.net/picture/2

將我重定向至

與查詢字符串的鏈接

謝謝! :)

回答

0
RewriteRule ^picture/([\d]+) /redirect.php?picture=$1 [L,R=301] 
相關問題