开发者

How to use spaces in the URL path in mod_alias’ Redirect directive?

Following on from link text, I've also got problems with file paths that contain spaces. I wa开发者_如何转开发s told to simply enclose the full path in quotes, and that should work, but I keep getting this page marked up in my Webmaster Tools error log as not being found:

redirect 301 /"News/Press Releases/Press_Release_Update_Oct_2006.pdf" /index.html

still gives me a 404.

Thanks Martin


Have you tried putting the quote before the /?

redirect 301 "/News/Press Releases/Press_Release_Update_Oct_2006.pdf" /index.html
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜