View Full Version : Problems with Subdomains

03-31-2004, 08:29 AM
I have a website with 2 languages (English and German).
They are divided into 2 directories:

So I want that on the english site there should only come english searchresults.
I have read in the forum of phpdig that there is a possibilty by creating subdomains.

I asked my provider to install these subdomains:
(this is for the english section)

(this is for the english section)

Unfortunately when I want to index the website http://www.english.minedition.com/
there comes this message:

SITE : http://www.english.minedition.com/
Exclude paths :
- @NONE@
(time : 00:00:05)
level 1...
(time : 00:00:15)

No link in temporary table
links found : 2
Optimizing tables...
Indexing complete !

The index.html has of course included the metatags for "index and follow".

Why does phpdig not index the website?

Thank you for helping.

Herbert Hofer

03-31-2004, 10:44 AM
I took a look at your site, and I believe what you need to do is move all your English pages where they are under:


rather than having them under:


Similarly, you would want to do the same thing for the German pages. What phpDig is looking for is pages underneath the high level domain name for each of these. It isn't finding any, which is why hardly anything is getting indexed.

03-31-2004, 10:06 PM
Thank you for your help.

Do you mean that I should create a directory with the name "www.english.minedition.com" and move all english files into this directory?

Best wishes.

04-01-2004, 06:38 AM
No. When your web host created the subdomain, they created a folder under which all those files should be moved. Check with them if you are unsure as to how they set it up.

Something else that I thought about after posting yesterday though. If your site is indexed with the search engines under the old sub-folder structure and you move them around like I suggested, you will probably want to setup some redirects from the old file locations to the new. That way, your site's visitors won't get a 404 when they try to access the pages through the old location.

04-02-2004, 12:26 AM
Dear Pat, thank you for your patience.

I try to declare it - I’m not a native speaker:-).

I have created 2 directories. All files are still in these directories.

Then I told my web host that he should create these subdomains:
should get this subdomain:

should get this subdomain:

Is there something wrong?

Best wishes.

P.S.: You have a great website with a perfect working search engine.
Is "Orange Mole" the best?

04-02-2004, 05:29 AM
Originally posted by herberth
I try to declare it - I’m not a native speaker:-).No problem. Your English is fine. :)

I have created 2 directories. All files are still in these directories.
Is there something wrong?No, nothing wrong at all. When your web host created those new subdomains, they created brand new folders for them on their server. What you have to do in order to render your web pages with a URL utilizing those new sub-folders is to move your web pages to those directories.

For example, let's say you have a page under your English section, like so:


When you move that to the new folder that your web host created for you, the new URL for this page will now be:


Hope this explains a little better what you need to do. As before, if you still have questions, feel free to ask.

P.S.: You have a great website with a perfect working search engine.Thanks. :)

Is "Orange Mole" the best? Um, I really don't know. Charter changed the member titles a couple of weeks ago, and I've been meaning to ask him about that. Perhaps he'll see this post and respond to that.

04-02-2004, 05:39 AM
When I visit my webspace with my FTP Application, I can’t see any new folders.

When my web host has really created new folders and I ask him to move the webpages into these folders, then I can’t see them anymore.

It’s very curious.


04-02-2004, 06:16 AM
In that case, you might want to check with your web host to find out what happened. It's possible that they made a mistake when they moved the files for you. You might want to double-check first though and make sure they haven't just been moved to the wrong sub-folder or something.

Let us know how that turns out.

04-02-2004, 06:42 AM
Thank you.

I will do this.

Next week, I’m on holidays.

Have a nice time.