Microsoft Content Management Server - Default page extension (*.html?)

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2006 > Default page extension (*.html?)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Default page extension (*.html?)
Jesse Fulton

2006-05-30, 7:15 pm

Hey,

I converted a client's website to MCMS a while back. They are going through
SEO and have asked if it is possible to get MCMS to use *.html as the default
webpage extension as opposed to *.htm (to match up with their old site).

I have noticed that if you try to access a webpage in MCMS using ANY
extension (or even none), then the correct page is still retrieved with an
HTTP status of 200 (found). I don't know enough about the system
architecture...could anybody give me a quick reason as to why this happens?
(Does the system just search the database for the page with the closest
"name"?)

I told the client that it would be possible to get all of their old links to
point to the new pages using redirects or a "mod rewrite", however they want
all of the internally generated links in the website to be *.html and not
*.htm.

So in short, I know there are ways AROUND this, but that is not what the
client wants...is there any way to get MCMS to name pages *.html by default
rather than *.htm?

Thanks,
-Jesse
Stefan [MSFT]

2006-05-31, 7:15 am

Hi Jesse,

the MCMS isapi filter takes the incoming request, removes the extension and
verifies the remaining URL against the names properties of the items in the
MCMS channel structure to see if a channel or item is hit.
As channels an items do not have extensions the remove of the extension is
required for this check.
MCMS always appends .htm for backward compatibility with old browsers. It is
not possible to change this behaviour to return a different extension.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Jesse Fulton" <JesseFulton@discussions.microsoft.com> wrote in message
news:DC8C3EE9-C9A1-4E2D-ABD6-BF5B0448FB9F@microsoft.com...
> Hey,
>
> I converted a client's website to MCMS a while back. They are going
> through
> SEO and have asked if it is possible to get MCMS to use *.html as the
> default
> webpage extension as opposed to *.htm (to match up with their old site).
>
> I have noticed that if you try to access a webpage in MCMS using ANY
> extension (or even none), then the correct page is still retrieved with an
> HTTP status of 200 (found). I don't know enough about the system
> architecture...could anybody give me a quick reason as to why this
> happens?
> (Does the system just search the database for the page with the closest
> "name"?)
>
> I told the client that it would be possible to get all of their old links
> to
> point to the new pages using redirects or a "mod rewrite", however they
> want
> all of the internally generated links in the website to be *.html and not
> *.htm.
>
> So in short, I know there are ways AROUND this, but that is not what the
> client wants...is there any way to get MCMS to name pages *.html by
> default
> rather than *.htm?
>
> Thanks,
> -Jesse



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com