Welcome Guest, Not a member yet? Register   Sign In
Site Migrate
#2

[eluser]bretticus[/eluser]
Use absolute paths for your images and css files, etc.

If your website URL is http://yoursite.tld/index.php/controller/method and you have an img tag using a relative path:

Code:
<img src="images/blinking.gif">

Than your browser will try to find it under http://yoursite.tld/index.php/controller/images and that is just not right. Smile

Just put a beginning slash before your images folder to designate the website root path. ie:

Code:
<img src="/images/blinking.gif">

Probably as simple as that.


Messages In This Thread
Site Migrate - by El Forum - 01-21-2010, 10:47 PM
Site Migrate - by El Forum - 01-21-2010, 10:54 PM
Site Migrate - by El Forum - 01-22-2010, 03:58 AM
Site Migrate - by El Forum - 01-22-2010, 09:08 AM
Site Migrate - by El Forum - 01-22-2010, 09:35 AM
Site Migrate - by El Forum - 01-24-2010, 09:01 AM
Site Migrate - by El Forum - 01-24-2010, 10:33 AM
Site Migrate - by El Forum - 01-24-2010, 04:38 PM
Site Migrate - by El Forum - 01-25-2010, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB