sanfly Posted December 4, 2007 Share Posted December 4, 2007 Hi I've just decided to give mod_rewrite a go, and have created my .htaccess file (see below) that will give me a pretty url. The "redirection" works fine ie: http://www.mysite.com/profile/1/ shows me the right page (profile.php?id=1), however my images and stylesheet dont seem to be loading! Any ideas? .htaccess RewriteEngine on RewriteRule ^profile/([0-9]+)/$ profile.php?id=$1 Quote Link to comment Share on other sites More sharing options...
mr_mind Posted December 4, 2007 Share Posted December 4, 2007 the styles and everything is in the profile.php page so you are going to have to check to see if everything is loading correctly within that page Quote Link to comment Share on other sites More sharing options...
sanfly Posted December 4, 2007 Author Share Posted December 4, 2007 Im not entirely sure what you mean, but if I look at the page by its actual url (profile.php?id=1) everything looks fine. Also, the source for the page when things are not loading (profile/1/) looks completely normal. Quote Link to comment Share on other sites More sharing options...
mr_mind Posted December 13, 2007 Share Posted December 13, 2007 then it is probably a problem with the refernce. can we see the file/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.