Subdomains thru htaccess?

Discussion in 'Search Engine Optimization' started by lorien1973, Apr 26, 2005.

  1. #1
    My host only lets me make subdomains via htaccess, not thru DNS or a normal method. Is this an issue with SE's at all?

    The htaccess lines would look like this:

    RewriteCond %{HTTP_HOST} subdomain.mydomain.com
    RewriteCond %{REQUEST_URI} !folder/
    RewriteRule ^(.*)$ folder/$1 [L]
     
    lorien1973, Apr 26, 2005 IP
  2. flawebworks

    flawebworks Tech Services

    Messages:
    991
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    78
    #2
    They have to use dns. This is the only way to set up a subdomain. It sounds like they're using wildcard dns which is actually easier for you - all you need is the htaccess. The dns is automatically setup on their side when your account is setup. It won't bother search engines at all.
     
    flawebworks, Apr 26, 2005 IP