- Code: Select all
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
RewriteRule dream(s)?/([0-9]+) http://localhost/dreams.php?dream=$2
</IfModule>
But when i go to localhost/dreams/528, none of the images or css work because it's looking for them as localhost/dreams/image.jpg. How can I prevent this?