MyBB Community Forums

Full Version: Google SEO + htaccess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi MyBB users

i wanted modify the htacces to point users to a "subdomains". i found a tutorial to how to do subdomains in htaccess

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} subdomena.domena.com
RewriteCond %{REQUEST_URI} !subdomena/
RewriteRule ^(.*)$ subdomena/$1 [L]

My code is

# Google SEO URL Users:

RewriteCond %{HTTP_HOST} !(.*)$.v-serve.tk
RewriteCond %{REQUEST_URI} !(.*)$
RewriteRule ^(.*)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]]

in short words, i want redirect

http://v-serve.tk/User-Metonator to http://Metonator.v-serve.tk/
http://v-serve.tk/User-retnax to http://retnax.v-serve.tk/

Is this possible?

PS: i know, my English sucks, because im from Poland Big Grin