我有一个论坛,我想做一个简短的网址,像这个http://nusa.in/t1791将重定向到http://www.nusareborn.in/showthread.php?t=1791
例:
short domain : short.domain.com
my forum domain : forum.domain.com怎么做?谢谢
发布于 2014-01-22 18:29:12
将其添加到nusa.in文档根目录中的htaccess文件:
RedirectMatch ^/t([0-9]+)$ http://www.nusareborn.in/showthread.php?t=$1发布于 2014-03-10 11:14:41
Redirect 301 http://www.mysite.com/about_us.php http://www.mysite.com/about-us/
Redirect 301 http://www.mysite.com/contacts.php http://www.mysite.com/contacts/在htaccess中使用上述代码
https://stackoverflow.com/questions/21290786
复制相似问题