I have caching enabled and am getting a lot of "Page Not Found" errors where the url is written like:

http://www.mysite.com/mysite/sites/all/themes/theme/image.png

when the should be written like

http://www.mysite.com/sites/all/themes/theme/image.png

without the additional mysite.

It will also rewrite some URL's as

http://mysite.com/sites/all/themes/theme/image.png

when it should be written like

http://www.mysite.com/sites/all/themes/theme/image.png

with the www.

Any suggestions?

Comments

Garrett Albright’s picture

Could you perhaps give more information on the steps leading up to this happening? I suspect it's not really the Path module which is doing something like that.

joeytheman’s picture

I just noticed in my "Recent Hits" log that I was getting a lot of "Page Not Found" errors for image files. This is happening intermittently and I have not found specific steps for reproducing the error. Is there anything in particular you are looking for?

Garrett Albright’s picture

Well, I just don't really think that the Path module is playing a role here, unless you're doing something unusual. I'm betting that those paths are actually in your content somewhere, correct? In which case, it might be one of your input filters mucking around with your paths. The Path module, to the best of my knowledge, never affects paths in content.

Garrett Albright’s picture

Well, I just don't really think that the Path module is playing a role here, unless you're doing something unusual. I'm betting that those paths are actually in your content somewhere, correct? In which case, it might be one of your input filters mucking around with your paths. The Path module, to the best of my knowledge, never affects paths in content.

dave reid’s picture

Status: Active » Closed (won't fix)

I agree. Unless you can specify exactly how path.module is at fault I don't see how this is a bug in path.module. It is most likely something else creating the incorrect links (likely input format).

joeytheman’s picture

Status: Closed (won't fix) » Closed (fixed)

It was a caching issue. Thanks.

joeytheman’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.