Forum Moderators: phranque

Message Too Old, No Replies

Issue with pages in sub-folder

         

wolfadeus

7:20 am on May 12, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a very conservative approach to website development, reflected in simple HTML and traditional, pyramid-shaped hierarchies - starting with:

www.widgets.com/index.html

and digging deeper level by level through sub-directories, e.g.:

www.widgets.com/topic1/page1-topic1.html

Now, a bit more than a year ago, I decided to do a second language version of a very established website of mine. I opted against a subdomain in order to focus the website on one homepage and instead, I translated the entire thing and mirrored it in a folder like this:

www.widgets.com/language/index.html

The homepage in the original language is still accessible from every page through the breadcrumb navigation, but all other header-links from the new language version lead to the new-language-index page.

Here's my problem: The new-language homepage got indexed, but does not show in the relevant version of Google - instead, the old-language index shows, but does of course not rank very well, as there are plenty of websites of the relevant language who are older (but worse content-wise). The new-language homepage has still no pagerank, nor does it attract an awful lot of traffic. Please discuss or advise.

phranque

9:33 am on May 12, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



have you specified the language of your document using the "lang" attribute?
such as:


google makes it difficult to target languages, but geotargeting with a url as you have structured it is made simple by creating a "site" for each subdirectory in GWT.

the relevant version of Google

i assume you mean the "country code" versions such as google.fr?
note that these are geo-relevant rather than language-relevant.
google uses additional signals such as hosting location, location of sites that link to your content, etc.

on a side note, you should specify the default directory index document in the server configuration and leave it out of the url in your internal navigation, redirecting all requests for index.html to the directory itself, such as www.example.com/ and www.example.com/language/ - the trailing slash indicates a directory.

wolfadeus

9:52 am on May 12, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thank you!

(1) I specify the language on every page in the new language, ie. all pages in the subdirectory as you demonstrated in your example for French

(2) Relevant version of Google = country code version, yes.

(3) I never add index.html to my links, in both language versions links to the index page are to the relevant directory only (www.widgets.com for the original version, www.widets.com/language/ for the new version).