Jump to content

Htaccess Problems


deathadder

Recommended Posts

idk where else to put this, so ill post it here, i have some .htaccess code that changes profile.php?username=username to domain.com/profile/username

 

but in this case what i need to do is

 

make wwebsite.php?website=name&page=homepage

 

into website/name/page/homepage or something similar

 

thi is what i got now

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /website.php?website=$1

Link to comment
https://forums.phpfreaks.com/topic/269155-htaccess-problems/
Share on other sites

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.