Re: search engine friendly site

From: Date: Thu, 14 Sep 2000 14:12:47 +0000
Subject: Re: search engine friendly site
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16772@lists.php.net to get a copy of this message
<snip> > > All that works great. My problem is when I generate html like: > <img src="images/image.gif"> > > Apache seems to look for the images in: > mysite.com/local/param1/param2/param3/images/images.gif > Ofcourse that is just a "virtual path" which I decode in the local script. > > So how do I get apache to load the images from mysite.com/images/image.gif ? try <img src="/images/image.gif"> (note the extra slash. that tells the server to start looking from the root level, rather than what it believes to be your current position in the heirarchy). -- josh // josh davidson // graphic design for web and print // php,c,c++,pascal programming // // 850-255-0830 // aim: netsmiley // changelog: http://www.filmpensacola.com/jwd/

« previous php.general (#16772) next »