I have a url rewrite that looks like this:
RewriteEngine On
RewriteRule ^cancun/tours/$ location-tours-listings.php?locationName=Cancun
RewriteRule ^cancun/tours$ location-tours-listings.php?locationName=Cancun
Problem is that now the page can't find the relative URL's, such as CSS, images, etc...
Is there a way to fix this with a command in the .htaccess file? So that when someone goes to /cancun/tours/ apache knows that it should look relative to the location-tours-listings.php file and not those other directories?
Or is the only alternative to go into the file that it is redirecting to and hard-code all of those files?