2013-05-14 79 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] 
相关问题