eva*_*258 6 .htaccess http-status-code-301
我正在尝试创建此重定向:
Redirect /commercial%20work.html http://nataliearriolaphotography.com/fine-art-photography-prints.html
Run Code Online (Sandbox Code Playgroud)
问题是,当我第一次创建这个页面时,我在文件名中留下了一个空格.换句话说,它是" /commercial work.html".在chrome和safari中,url读取如上所示%20代替空格,但是当我创建此重定向时,它不起作用.我也尝试过以下方法:
Redirect /commercial work.html http://nataliearriolaphotography.com/fine-art-photography-prints.html
Run Code Online (Sandbox Code Playgroud)
这也不起作用.它会导致出现服务器错误页面.有没有人有什么建议?谢谢!
Ger*_*ben 23
尝试添加引号.所以
Redirect "/commercial work.html" http://nataliearriolaphotography.com/fine-art-photography-prints.html
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
9947 次 |
| 最近记录: |