Dhuan
04-04-2011, 08:21 AM
So i've set my htacess up so that it always redirects to index.php, that way I can manipulate URL and make my website works like "www.website.com/pageIwantToView". so the php looks for pageIWantToView.php on 'pages' directory.
So far so good, but now the problem is, when i type "www.wesite.com/pagex/argumentx" i've got problems, cos when the website tries to display pictures, it looks for them on "pagex" directory, which, of course, doenst exist.
And no, I cant simply put a "/" on the beginning of the image's SRC because the website is not stored on the root directory. I need a trick to make the image's src always look for images in the directory i want.
any idea?
So far so good, but now the problem is, when i type "www.wesite.com/pagex/argumentx" i've got problems, cos when the website tries to display pictures, it looks for them on "pagex" directory, which, of course, doenst exist.
And no, I cant simply put a "/" on the beginning of the image's SRC because the website is not stored on the root directory. I need a trick to make the image's src always look for images in the directory i want.
any idea?