Javascript 如何使用其他名称调用网页

Javascript 如何使用其他名称调用网页,javascript,c#,html,Javascript,C#,Html,我需要在浏览器中键入www.example.com/takethequick,当用户单击enter进入www.example.com/Reports.aspx时 谢谢。1创建.htaccess 2.写下: Options +FollowSymlinks RewriteEngine on rewriterule ^takethequiz(.*)$ http://otherdomain.com/Reports.aspx$1 [r=301,nc] 3使用您的域修改其他域:在服务器端,您可以将301重

我需要在浏览器中键入www.example.com/takethequick,当用户单击enter进入www.example.com/Reports.aspx时

谢谢。

1创建.htaccess 2.写下:

Options +FollowSymlinks
RewriteEngine on
rewriterule ^takethequiz(.*)$ http://otherdomain.com/Reports.aspx$1 [r=301,nc]

3使用您的域修改其他域:

在服务器端,您可以将301重定向到www.example.com/Reports.aspx