Google rankings when going from html to xml

D

Don

I am translating a large (1,100 webpage) website from xhtml to xml,
which will change the file extensions from .html to .xml
How can I keep my excellent Google page rankings if my xhtml webpages
are replaced by xml webpages?
 
S

Stefan Ram

Don said:
I am translating a large (1,100 webpage) website from xhtml to xml,
which will change the file extensions from .html to .xml

This will not change the URI ending.

It is not required for the URI of an XHTML-resource or an
XML-resource to end in ".xml" or not to end in ".html".
 
D

Don

Are you suggesting that I keep my old URIs so that the new xml file
then has an html extension?
 
S

Stefan Ram

Don said:
Are you suggesting that I keep my old URIs so that the new xml
file then has an html extension?

As far as I know, this would be in accordance with all
specifications. It might be possible, that individual clients
could use the URI-ending to identify the resource type - I am
not aware of such clients. However, problems are posssible.

In order to keep the URI, I would even keep the ".html"
ending, when changing the resource to JPEG or PDF, to me,
".html" has no meaning or significance in this regard
whatsoever. A ".html" ending might be part of a URI for
historical reasons.

See also:

http://www.w3.org/Provider/Style/URI
 
A

Andrzej Adam Filip

Don said:
I am translating a large (1,100 webpage) website from xhtml to xml,
which will change the file extensions from .html to .xml
How can I keep my excellent Google page rankings if my xhtml webpages
are replaced by xml webpages?

Have you considered keeping html version (generated by xslt from xml)?

You can put link to alternative format on every page and map
http://your.site/ to page in format of your choice e.g. based on web
browser type.
 
A

Andy Dingley

I am translating a large (1,100 webpage) website from xhtml to xml,
_WHY_?!

which will change the file extensions from .html to .xml

There are no file extensions on the web. There are URIs, and these may
contain character strings that map onto file extensions stored on a
server. However these are not a fundamental part of the "web experience"
via HTTP and any competent web crawler (including GoogleBot) won;t care
about them.
How can I keep my excellent Google page rankings

You can't - you can't make XML web pages. "The web" uses HTML. Even if
you can make "XML pages" work for some obscure combination of specific
browsers and dependencies on client-side technologies, this is no longer
"a web page" by any useful meaning of the term.

You're throwing away wide-audience web standards and usefulness. Google
shoudl dump you, and rightfully so.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,247
Members
46,844
Latest member
JudyGvh32

Latest Threads

Top