Jump to content

sohaibshaheen

Members
  • Posts

    23
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://t-bait.blogspot.com/

Profile Information

  • Gender
    Male
  • Location
    Pakistan

sohaibshaheen's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I want to give users their own urls e.g. username.site.com for which I need to mod rewrite so username.site.com ::: points to site.com/profile.php?user=username (masked - no redirect) I have accomplished above thing already but I also want to point username.site.com/profile to point to site.com/profile.php?user=username , which I cannot accomplish somehow.. Here is what I have:: RewriteCond %{HTTP_HOST} !^(www\.)?site\.com [NC] RewriteCond %{HTTP_HOST} ^([^.]+)\.site\.com/?$ RewriteRule ^$ /profile.php?user=%1 [L] Please help me.
×
×
  • 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.