Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Google sitemap URL. Does it not automatically direct users? View modes: 
User avatar
Certified Developer v6
Certified Developer v6
kmurphy-wakefly - 11/13/2012 1:39:30 PM
   
Google sitemap URL. Does it not automatically direct users?
In previous versions of Kentico I could type something in Google sitemap URL. Let's say I typed "sitemap.xml" in that text field.

Then I could visit:
site.com/sitemap.xml and it would render the sitemap.

Since 6 I can't do this. Is this something that was removed?
I see in the documentation here http://devnet.kentico.com/docs/devguide/index.html?google_site_map.htm it says I should add a PAGE with the appropriate webpart, and link to that. But that just seems like an extra step. Maybe I'm missing something?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 11/14/2012 12:14:37 PM
   
RE:Google sitemap URL. Does it not automatically direct users?
Hi,

Maybe it looks like an extra step on the first sight. But this is just an option(-al step) how can you modify the output of the generated sitemap. As you noticed, in the documentation for Google Sitemaps you can find also a description of that specific WebPart - XML Sitemap web part.

And as it says:
You can specify exactly which documents should be included by entering an appropriate Path. Further conditions can be added through the content filtering properties...

Best regards,
Martin Danko

User avatar
Certified Developer v6
Certified Developer v6
kmurphy-wakefly - 11/14/2012 12:29:24 PM
   
RE:Google sitemap URL. Does it not automatically direct users?
So this step is optional then? When I type "sitemap.xml" into that text box. The following does not work.

site.com/sitemap.xml


User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 11/15/2012 4:05:19 AM
   
RE:Google sitemap URL. Does it not automatically direct users?
Hi,

Did you follow the instructions?
Using the .xml extension

If you want to have your sitemap available under a URL with the .xml extension, you need to configure your application to handle all request extensions:

1.Edit your application's web.config file.

2.Find the system.webServer section directly under the web.config root (i.e. not under a specific <location> element).

3.Add the following attribute to the <modules> element:
<modules runAllManagedModulesForAllRequests="true">

Best regards,
Martin Danko

User avatar
Certified Developer v6
Certified Developer v6
kmurphy-wakefly - 11/15/2012 7:48:03 AM
   
RE:Google sitemap URL. Does it not automatically direct users?
That did it. Thank you very much for your assistance.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 11/15/2012 9:53:48 AM
   
RE:Google sitemap URL. Does it not automatically direct users?
Hi,

No problem. I'm glad that it works.
Sometimes you only need to read the documentation carefully :)

Best regards,
Martin Danko