Default page extension (*.html?)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Default page extension (*.html?)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Default page extension (*.html?)  
Jesse Fulton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-31-06 12:15 AM

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 defaul
t
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





[ Post a follow-up to this message ]



    Re: Default page extension (*.html?)  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-31-06 12:15 PM

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:33 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register