Jump to content

mod_rewrite issues


sanfly

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/80070-mod_rewrite-issues/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.