Direct to Subdomain

Using a single web hosting account to host multiple sites

Direct to Subdomain

Postby pfxpost » Tue Feb 17, 2009 9:13 pm

Looking to rewrite a domain name

www.domainname.com to forward to www.domainname.com/directory/

I'm simply looking to optimize this for SEO purposes. Does anyone know if Search engines can detect an httaccess change? or does it impair or help rankings?

I already have rewrite working:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

How would I optimize this so that when people come into my site - I push over to a subdomain...but when I go to any other subdomain I don't have a redirection issue. I've tried but I get caught in loops. Can anyone help? Thank You :)
pfxpost
 
Posts: 1
Joined: Tue Feb 17, 2009 9:04 pm

Postby richardk » Wed Feb 18, 2009 10:38 am

Is /directory/ part of Wordpress?
What do you see when you currently go to a sub domain?
What have mod_rewrite you already tried that gives loops?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 20 guests

cron