Jump to content

/ at the end of weblinks


ShaolinF

Recommended Posts

You haven't provided any information other than your problem, code perhaps?

Since I'm not going to try to guess anymore add this to the top of your script.

 

if(isset($_SERVER['PATH_INFO'])){
header('Location: http://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['SCRIPT_NAME']);
exit();
}

Are you using clean URLs? If so, then use absolute paths to your CSS files.

 

E.g. CSS file is at /stylesheets/default.css (referenced as stylesheets/default.css in a link tag)

URL (before): http://example.com/articles - link tag points to http://example.com/stylesheets/default.css

URL (new): http://example.com/articles/ - link tag points to http://example.com/articles/stylesheets/default.css (doesn't exist)

 

I hope you understand my example.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.