I agree, however when Yahoo indexes sites without file extensions, it
automatically appends a "/" to the URL. It also can't differentiate
between URLs with and without a trailing "/", which means the URL gets
indexed twice. This hits you with a duplicate content filter on that
page, and can easily cause sites to go supplemental. The solution is to
301 redirect from one form to another or use a file extension, and my
boss (who is the head of our SEO company) has made it company policy to
use ".html" file extensions.

So I can't really avoid the file extension problem :(

The CP filter does seem complicated. I think I'll use some default()
magic as large sections of the site have started using default since
this E-mail was written. A quick 'if method:endswith(".html"):method =
method[0:-5]" should do the trick.

Cheers

-Rob

Jorge Godoy wrote:
> It would be confusing though, to be interacting with "something.html" and 
> then, after the first turbogears.redirect() have just "something", without 
> the HTML... 
> 
> Anyway, it is common to use websites where you don't see any extension at 
> all. 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to