|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
robots txt file in subdomain?
I’m a newbie to SEO and I read your forum very offen now.
Learn a lot here and got directly a questions. My first goggle dance, placed me in XXX… >I can’t find my self. I believe, because of the old cache and the new improvements are still ignored. If you have a look at my page > will be very welcomed. My question is: As the robots txt file seams to be imported, I upload it yesterday night, but I need to place it in the sub domain too? regards mauri |
|
#2
|
||||
|
||||
|
Good question, and I'm not 100% sure, but I would say yes. Since it doesn't cost you anything to upload it, just do it.
Gringo. |
|
#3
|
|||
|
|||
|
it depends how this subdomain is generated....
There are subdomain scripts but then google still "lands" at the root.. My server has a DNS based setup for sub domains so in this case a seperate robots.txt file has to be used...since no script is in between.. So if you can mention how your subdomains are setup there might be a clear answer also. regards, hans |
|
#4
|
||||
|
||||
|
thanks to both of you.
as wm_asia ask, i checkt with my provider and they tell me : "Subdomain MUST be added into the DNS zone if you want to get it working. I don't know another way expect DNS-based one. www.english.info-mauritius.com is not a "real" domain. It is an alias of info-mauritius.com." but as gringo said > it doesn’t cost anything (i like this part ;) and it seams not to effect the spiders from spidering all pages, i put it there. thank you mauri |
|
#5
|
|||
|
|||
|
Hi...
Just to make a test... let say your domain is http://www.gogogo.com and you type... http://subdom.gogogo.com are you stil going to your website...??? If yes....then you need a script to recognise the sub name and link it to the sub directory...in this case you need 1 robots.txt file If no,,,,then it means that the DNS server can't place this sub domain to the right directory on your server...and treats it like another domain... http://www.gogogo.com routed to.... www/htdocs/gogogo/ on one of the servers who are listed in the DNS !! My server has this setup...it depends about the software running how this domain setup is working.... regards, hans |
|
#6
|
|||
|
|||
|
Hi,
http://www.info-mauritius.com/ or http://english.info-mauritius.com/ goes to the main web directory... in other words...you need script to direct it... once you have the script installed you can make unlimited subdomains and get it routed by the script... but use a script the SE can handle.. regards, hans |
|
#7
|
||||
|
||||
|
hi wm_asia!
as you said it go's directly > even under http://www.info-mauritius.com/english/ . but now my next question is > how i do a script to direct it and what can be handled by the SE. any webpage on hand where i can learn this> or see how to do it? thanks a lot for your help. nice day mauri |
|
#8
|
|||
|
|||
|
Hi,
did no see it so quickly... http://english.info-mauritius.com/index.htm gives your english page.. http://www.info-mauritius.com/index.htm deine deutsche version... so you have some kind of a script working...or am i wrong...?? regards, hans |
|
#9
|
|||
|
|||
|
Quote:
I loaded the 2 URL's in a software tool... and they take each the page out....so a SE would do the same... http://english.info-mauritius.com/index.htm http://www.info-mauritius.com/english/index.htm are the same pages ....so you have a script working or your web server doing those things standard...hehehe |
|
#10
|
||||
|
||||
|
wow you are fast hans
i'm a little dummy here 8) , because i don't know this, if a script is installed or not. but the provider tells me > that i have my owne ip for the subdomain. and when i upload the english version > yep> deutsch ginge mir besser von der hand, i have to upload it with the index file and all other stuff too > as on the main page. so i believe > it is seperated, even if i have access to both in the same public html folder. so my robot txt in the subdomain is fine? regards stefan |
|
#11
|
|||
|
|||
|
Hi Stefan,
As far as i can see...your webserver has a standard subdomain routing... http://english.info-mauritius.com/index.htm will go to http://www.info-mauritius.com/english/ you could test this with more... You could upload a seperate robots.txt file if those sub domains are not linked to each other and you submit them seperately...(just in case you are making pages with other goals) http://hotels.info-mauritius.com as example.. regards, hans |
|
#12
|
||||
|
||||
|
hans, what is see up to now is that, there are seperate, so i upload my robots txt file in the subdomain.
lets see what will be happend, as it is a wildcart it want harm anything. by the way > you have a nice clear page! i'm lucky that you promote a other country !! ;) nice to talk to you nice day stefan |
![]() |
| Viewing: SEO Chat Forums > Other > HTML Coding > robots txt file in subdomain? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|