Adding a GET parameter to URL causes 404 error

Posted by Adrian Grigore on Server Fault See other posts from Server Fault or by Adrian Grigore
Published on 2009-06-15T07:24:12Z Indexed on 2013/06/28 10:23 UTC
Read the original article Hit count: 282

Filed under:
|

I'm trying to install the syntaxhighlightter evolved plugin to my wordpress blog. I've uploaded and activated the plugin, but it did not work. I've looked into the page source code and found out that the plugin style is loaded from the following URL:

http://devermind.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCore.css?ver=2.0.320

This causes a 404 error (page not found). The strange thing though is that when I remove the GET parameters, the CSS loads ok:

http://devermind.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCore.css

What could be causing this problem and how can I fix this? Unfortunately I don't know how to make wordpress drop the GET parameters when loading the stylesheet.

EDIT: As I just found out, this happens only in Firefox (3.0.11). IE loads both URLs above just fine. Not that this would be of any help though, so any suggestions would be appreciated.

SECOND EDIT: I tried this on my laptop and it works fine with Firefox 3.08. So this really seems to be a browser problem after all.

© Server Fault or respective owner

Related posts about Wordpress

Related posts about 404