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  
 
   
mod-rewrite and parked domain

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
::  
Author Message
greyw



Joined: 25 Aug 2007
Posts: 24

mod-rewrite and parked domainPosted: Wed Sep 05, 2007 6:16 pm    Post subject: mod-rewrite and parked domain

I'm doing a test: I have a site in the root dir and the forum in the sub;
I parked a domain on the main one and set up some reirections in order to get the site shown under the main domain and the forum under the parked one, but now I lost the forum url rewrite benefits: under the parked domain, the forum urls come up with parameters...
How can I remediate,please?

Thanks

Here there are my domain rewrite rules:

Code:
#canonicalize parked domain:
RewriteCond %{HTTP_HOST} ^parked\.net

RewriteRule (.*) http://www.parked.net/$1 [R=301]


#redirects parked domain specific url to the main one:
RewriteCond %{HTTP_HOST} ^www\.parked\.net

RewriteRule ^search.pl(.*) http://www.main.net/search.pl$1 [R=301]

#canonicalize main domain:
RewriteCond %{HTTP_HOST} ^main\.net

RewriteRule (.*) http://www.main.net/$1 [R=301]

#redirects main domain forum url tothe parked one:
RewriteCond %{HTTP_HOST} ^www\.main\.net

RewriteRule ^forum/(.*) http://www.parked.net/forum/$1 [R=301,L]



They are located AFTER the forum url rewrite rules.

Thanks again Smile
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

mod-rewrite and parked domainPosted: Thu Sep 06, 2007 10:49 am    Post subject: Re: mod-rewrite and parked domain

Well, HTTP 301 redirecting all the forum URLs is far from a good idea.

Domain set up should be done properly, eg with DNS settings.

You could install the parked domain in the forum directory, so that your forum would appear in it's root for example.

++

_________________
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
greyw



Joined: 25 Aug 2007
Posts: 24

mod-rewrite and parked domainPosted: Thu Sep 06, 2007 10:57 am    Post subject: Re: mod-rewrite and parked domain

Quote:
You could install the parked domain in the forum directory, so that your forum would appear in it's root for example.


How?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

mod-rewrite and parked domainPosted: Thu Sep 06, 2007 11:04 am    Post subject: Re: mod-rewrite and parked domain

Well this depends on your host and / or registrar.

It must provide some doc about how to install a domain I think.

++

_________________
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
greyw



Joined: 25 Aug 2007
Posts: 24

mod-rewrite and parked domainPosted: Sat Sep 08, 2007 10:18 am    Post subject: Re: mod-rewrite and parked domain

Hello,

I come back in topic as my parked domain is just being indexed!
Can I fix the url rewrite in order to get plain urls even with parked domain?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

mod-rewrite and parked domainPosted: Sat Sep 08, 2007 10:22 am    Post subject: Re: mod-rewrite and parked domain

I'm not sure to understand.
You have domain1.com and domain2.com linked to your FTP public root.

If you want domain1.com to take care of the root folder, and domain2.com to take care of the forum in the forum/ folder, then you'll need to alter the domain2.com VHOST to have it linked directly to the forum/ folder IMHO.

Trust me, you don't want to HTTP 301 redirect all your forums pages on the long run.

++

_________________
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  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: