Hi. I did some website. For some reason (lack of knowledge) I put path for some images as http://domain/FOLDER/images/picture.gif.
But in mean time I purchased domain and I forwarded to: http://domain/FOLDER/ and now my website is displaying @ newdomain.com
So I changed in html code http://domain/FOLDER/ for http://newdomain/
and it does not working!
what should I do? How to read the path from root? I tried to put the path displayed at .$DOCUMENT_ROOT./FOLDER/images but it still not working. Please help me.
Can you show us some example code that's not working? It's not clear whether you're talking about server-side paths or client-side URL's (two very different things).
I had <img src="http://domain/FOLDER/images/logotop_04.gif" width="11" height="70" alt="">
and after purchase new domain which I forwarded to domain/FOLDER i changed code for: <img src="http://newdomain/images/logotop_04.gif" width="11" height="70" alt="">
it should work but like always I do something wrong.
you forwarded what to domain/FOLDER and how ?
I forwarded newdomain to domain/FOLDER in godaddy.com settings.
...and I set it as a permanently forward (301)
another thing is when I type same path ( http://newdomain/imges/picture ) in a browser then images is displayed....so why it doesnt work in html code on server?
just to be clear:
http://newdomain/imges/picture/logotop_04.gif
typed in the browser works but as the src for and img tag does not ?
yes
then theres something wrong with your html\css, what's the page url where we can see it.