I was just rewriting the URLs of my site to search engine friendly ones using the PATH_INFO method (by sitepoint advice <= the first method ), so my URLs would look like example.com/article.php/beach-volley instead of example.com/article.php?id=beach-volley. However, I came across another problem: the browser won't display images that are in the root directory or in a folder of the root directory (ex. pic/ball.jpg) and the links won't work any more either. When I click on them, instead of example.com/matches.php it goes to example.com/article.php/beach-volley/matches.php, which obviously doesn't exist.
Is there any easy way around this?
Thanks a lot