PDA

View Full Version : Problems with Subdomains


herberth
03-31-2004, 09:29 AM
I have a website with 2 languages (English and German).
They are divided into 2 directories:
http://www.minedition.com/english/
http://www.minedition.com/german/

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:
http://www.english.minedition.com/
(this is for the english section)

http://www.german.minedition.com/
(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@
1:http://www.english.minedition.com/
(time : 00:00:05)
+
level 1...
2:http://www.english.minedition.com/blank.html
(time : 00:00:15)

No link in temporary table
links found : 2
http://www.english.minedition.com/
http://www.english.minedition.com/blank.html
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

vinyl-junkie
03-31-2004, 11: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:

http://www.english.minedition.com/

rather than having them under:

http://www.minedition.com/english


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.

herberth
03-31-2004, 11: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.
Herbert

vinyl-junkie
04-01-2004, 07: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.

herberth
04-02-2004, 01: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.
http://www.minedition.com/english/
http://www.minedition.com/german/

Then I told my web host that he should create these subdomains:
http://www.minedition.com/english/
should get this subdomain:
http://www.english.minedition.com

http://www.minedition.com/german/
should get this subdomain:
http://www.german.minedition.com

Is there something wrong?

Best wishes.
Herbert

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

vinyl-junkie
04-02-2004, 06: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.
(snip)
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:

http://www.minedition.com/english/mypage.php

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

http://www.english.minedition.com/mypage.php

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.

herberth
04-02-2004, 06: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.

Herbert

vinyl-junkie
04-02-2004, 07: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.

herberth
04-02-2004, 07:42 AM
Thank you.

I will do this.

Next week, I’m on holidays.

Have a nice time.