You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 147 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - GT in subfolders [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
irving.hutagalung
Corporal
Corporal


Joined: Oct 07, 2003
Posts: 54

Location: Jakarta (Indonesia)

PostPosted: Fri Oct 10, 2003 12:34 am Reply with quoteBack to top

Currently my site uses GT, and the website works fine. Now waiting for Google robots to come Smile

However, I do have one concern. I'm not using my own server, I bought space from phpwebhosting.com. They allow multiple domains for one account. So, I just put my websites in different directories. Eg. www.domain1.com goes to /domain1, www.domain2.com goes to /domain2, etc. To manage that, in the root dir I put an index.php, which detects the HOST_NAME and then redirects to the appropriate dirs.

www.domain1.com redirects to www.domain1.com/domain1
www.domain2.com redirects to www.domain2.com/domain2
et.

I installed PHPNuke in one of the domain. After seing GT, I install it immediately, since I want my website to be indexed by Google.

Now, my concern is, will Google index my website, with the configuration above? I mean, if the Google robots come to www.domain1.com, will they follows the redirects to www.domain1.com/domain1?

If not, I already have Plan B. I can create another .htaccess file in the root dir, which looks like this:

Code:

RewriteEngine on
RewriteBase /

RewriteCond %{SERVER_NAME} ^(www\.)?([^\.]*)\.com$ [NC]
RewriteCond %2 =domain1 [NC]
RewriteRule ^(.*)$ domain1/$1 [L]

RewriteCond %{SERVER_NAME} ^(www\.)?([^\.]*)\.com$ [NC]
RewriteCond %2 =domain2 [NC]
RewriteRule ^(.*)$ domain2/$1 [L]


Or better:

Code:

RewriteEngine on
RewriteBase /

RewriteCond %{SERVER_NAME} ^(www\.)?([^\.]*)\.com$ [NC]
RewriteRule ^(.*)$ %2/$1 [L]


But I'm sure it will add additional process in the server (read: slower response).

So, should I use the .htaccess file to make sure Google index my website, or I can be assured that Google robots will follow the redirects?

Thanks
Find all posts by irving.hutagalungView user's profileSend private messageVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Oct 10, 2003 7:41 am Reply with quoteBack to top

Hi'ya basically you need to think of each site as their own entity. So long as you setup both as if you only had one, you will be fine. Its how all my nuke sites work here. No problems.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
irving.hutagalung
Corporal
Corporal


Joined: Oct 07, 2003
Posts: 54

Location: Jakarta (Indonesia)

PostPosted: Sun Oct 12, 2003 9:02 pm Reply with quoteBack to top

My question is more towards the capability of the robots. Will they follow redirects? Since my index.php will redirect the robots to the correct directories, will they follow, or will they give up and stop at index.php?
Find all posts by irving.hutagalungView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.574 Seconds - 100 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::