Jump to content

Vanity URL


Scorpion28

Recommended Posts

I need help with a vanity url .htaccess

 

I have a profile based site that I want to open up the profile using the url and the member profile name

 

example: http://example.com/member

 

Then I want to redirect to the members profile

 

here is what I have

 

 

 

RewriteEngine On
RewriteBase /
RewriteRule ^([A-Za-z0-9-]+)/?$ view.php?page=$1 [L]

 

Link to comment
https://forums.phpfreaks.com/topic/277301-vanity-url/
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.