[pmwiki-users] Putting ".html" extensions onto pages

Patrick R. Michaud pmichaud at pobox.com
Wed Mar 1 09:51:32 CST 2006

On Wed, Mar 01, 2006 at 09:57:53AM +0100, Mikael Nilsson wrote:
> tis 2006-02-28 klockan 18:17 -0600 skrev Patrick R. Michaud:
> > On Tue, Feb 28, 2006 at 08:42:10AM -0600, Patrick R. Michaud wrote:
> > > 
> > > I've been planning to add an extension that will allow PmWiki 
> > > to ignore trailing ".html" extensions on pagenames, and to generate them
> > > on page links, but just haven't completed that yet.
> > 
> > A question for the list:  I'm thinking of setting the core distribution
> > so that it ignores any ".html" extension that happens to appear at
> > the end of a pagename in a url.  For example, PmWiki would treat
> > the following urls as equivalent requests for the Main.WikiSandbox:
> > 
> >     http://www.pmwiki.org/wiki/Main/WikiSandbox
> >     http://www.pmwiki.org/wiki/Main/WikiSandbox.html
> The only thing I can see is some confusion:
> http://www.pmwiki.org/wiki/Main.html --> redirects to Main/Main or
> Main/Html?

At the moment it wouldn't redirect at all--it would simply serve
up the Main.Html page since this is a valid page request.

> I must say I really don't understand the rationale at all. Millions and
> millions of sites don't use .html at all. How can anyone be
> uncomfortable with that (okay, in 1992 that would have been strange, but
> 2006...)? Please enlighten me :-)

Because some browsers (notably IE, but there are others) like the
extension to be present when viewing saved copies of the page.
That's really the primary reason.


More information about the pmwiki-users mailing list