FAQ: Troubleshooting instances of //
Posted: Tue Jan 31, 2006 11:14 pm
Some people have experienced problems with having links to .css and other urls showing a double forwardslash // in their code.
Look in your code for any entry that reads like this:
Remove the / after $mosConfig_live_site;?>
$mosConfig_live_site; already includes the / into your code, so the second one is where you are getting the duplicate.
For example,
This will return the link to the css as http://adomain.com//templates/css/template_css.css
Take that duplicate forwardslash out and the problem is fixed!
Look in your code for any entry that reads like this:
Code: Select all
php echo $mosConfig_live_site;?>/
Remove the / after $mosConfig_live_site;?>
$mosConfig_live_site; already includes the / into your code, so the second one is where you are getting the duplicate.
For example,
This will return the link to the css as http://adomain.com//templates/css/template_css.css
Take that duplicate forwardslash out and the problem is fixed!