phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Dynamic sub domain with mod rewrite

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
::  
Author Message
JanoF



Joined: 30 May 2006
Posts: 43

Dynamic sub domain with mod rewritePosted: Thu Jun 01, 2006 5:34 pm    Post subject: Dynamic sub domain with mod rewrite

I'd like repair rewrite record
from http://www.domain.tld/index.php?mforum=xxx
on http://xxx.domain.tld/
He knew could somebody help???

_________________
www.pcforum.sk | www.pcforum.cz | jan.fecik.sk
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14854

Dynamic sub domain with mod rewritePosted: Thu Jun 01, 2006 6:40 pm    Post subject: Re: Dynamic sub domain with mod rewrite

Well, this is something a bit harder to achieve than just standard mod rewrite.

First your DNS server must accept wildcards. Meaning, you want your DNS server to redirect *.example.com to the same folder.

This is usually only possible with dedicated servers, and not under all installation. Apache and Bind are good to use here.

And there is a possible copyright issue, because, one can create a sub domain by just posting a link to it, like http://registered-brand.example.com.

So you must check what's going on here when you start playing with such settings.

The minimum is to make sure you check the sent vars (here the subdomain name) are ok before you do anything with it, you don't even want to show your index on those, better a warning page and a mail sent to you to react (eg implementing rules to disallow the use of all sensible subdomain name that would have been tested).

So you'd better think about it before you go for it, because you will need good skills to properly manage the new possibilities given by a DNS wild-carding setting.

And since it's not something to put on in one day, I prefer to talk a bit more before posting some code.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: