1

Following on from link text, I've also got problems with file paths that contain spaces. I was 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

Community
  • 1
  • 1
Martin S
  • 211
  • 1
  • 4
  • 18

1 Answers1

3

Have you tried putting the quote before the /?

redirect 301 "/News/Press Releases/Press_Release_Update_Oct_2006.pdf" /index.html
Pekka
  • 442,112
  • 142
  • 972
  • 1,088
  • No, I hadn't as I assumed the / at the start was not part of the path - that worked perfectly - thanks. Merry Christmas :) – Martin S Dec 25 '09 at 11:25