Thread Starter
dosa
(@dosa)
Ok, I’ll reply since nobody else has! 😉
I misreported the problem: when I was getting 404s in curl they were indeed true 404s, with my page-not-found template being returned. The problem seems to lie in how the command line utility curl does its HTTP request:
If I want URI:
http://blah.com/foo/#somewhere
Browsers seem to just send:
GET /foo/ HTTP/1.1
(and deal with the #somewhere internally I presume) whereas Curl sends the full:
GET /foo/#somewhere HTTP/1.1
and this confuses wordpress, which can’t then find any posts.
Confused me too! Grrr.
Bear in mind that its name starts with a dot and in many systems that signals an invisible file; some ftp programs will require that you explicitly ask to see such hidden files.