I used this for my website to try and make better looking links and have it turn up better on search engines, etc. However, when I made links like this: resource.php?g=1942&p=maps go to something like this: resources/1942/maps/ ... Images and things did not show up correctly. I have these set in my php fields on my website so how can it bring all images from the main public_html/images directory and not make it resources/1942/maps/images ? Thanks for any help!
Try using an absolute link structure for your images instead. www.sitename.com/images/image1.jpg instead of just images/image1.jpg.
Hmmm, I was thinking about that as I was posting this actually, only thing is I have to go through all my templates and change it. I guess what I'll do is make a constant in global.php and make that in front of all images. =/ Thanks. Edit: Hmmm I seem to have forgotten how to do these, this isn't how it goes? RewriteEngine on RewriteRule ^/videos/$ /videos.php [NC] Code (markup):
You will have to use mod_rewrite for that.. RewriteEngine on RewriteRule ^/resources/(.*) /resources.php?$1 [L] Code (markup): i'm not 100% sure of the syntax but this is how i did that once
try this one ======= BEGIN ============================================== Options +FollowSymLinks RewriteEngine on RewriteRule ^letter/(.)/(.*)/$ letter/$1/$2/page-1/ [L] RewriteRule ^letter/(.)/$ letter/$1/page-1/ [L] ======= END ================================================