PDA

View Full Version : subdomain for user cp


ubcforums
07-17-2009, 04:07 PM
Hi !
How Can I use a sub domain for user cp ..
like
my.myforum.com ?
Thanks in advance :)

Lynne
07-17-2009, 05:12 PM
I haven't seen any instructions on how to do it like you wrote, but there is an article in the articles forums on how to do is as yoursite.com/username (just do a search in those forums).

1Unreal
07-17-2009, 08:06 PM
Try..


RewriteEngine On
Options +FollowSymlinks
RewriteBase /
Rewrite Rule for my.myforum.com
RewriteCond %{HTTP_HOST} my.myforum.com$
RewriteCond %{REQUEST_URI} !usercp.php
RewriteRule ^(.*)$ usercp.php$1

ubcforums
07-20-2009, 09:45 AM
Try..


RewriteEngine On
Options +FollowSymlinks
RewriteBase /
Rewrite Rule for my.myforum.com
RewriteCond %{HTTP_HOST} my.myforum.com$
RewriteCond %{REQUEST_URI} !usercp.php
RewriteRule ^(.*)$ usercp.php$1


Thanks for helping :)
but
I am trying another method ,
renamed usercp.php and moved it to required directory and then manually edited all templates :)

1Unreal
07-20-2009, 12:05 PM
That seems like an easier method. Probably not the best though :p