Is it possible for a page to include multiple
link tags using the
hreflang attribute for different languages but all actually pointing to the same URL since the language detection and related content delivery for that page is done at the Apache level? (I suppose the same could be said for a dynamic page, say PHP, that delivers content in different languages.)
My site setup uses a combination of
AddLanguage so that when loading the URL
host/folder/page, Apache actually serves
host/folder/page.<lang>.html meaning that the page content can be in either English or French depending on the browser language settings but the URL to load stays the same, which is the way I like it.
Many answers I've looked at here only consider a language subdomain or subfolder but that's not my case as the URL is the same for all languages. Can I index this properly by using multiple
hreflang, or what else?
can be loaded by using just
so can I simply use both of these tags together
<link rel="alternate" href="http://www.nicealias.com/articles/focus_on_renewables" hreflang="en"> <link rel="alternate" href="http://www.nicealias.com/articles/focus_on_renewables" hreflang="fr">
in each page, given that Apache will take care of serving the right content?