Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Sitemap includes all portal alias in multi language portalSitemap includes all portal alias in multi language portal
Previous
 
Next
New Post
6/29/2011 9:22 AM
 
Correct.
What I meant is that all URzL in the sitemap are valid and are redirected if needed. Google sure does not appreciate these different domains in the sitemap.

I know my way around c#, if it is not to complex and you point me to the code and I can build a special SiteMapProvider. I was thinking it should be something like if NOT(the domain of the URL request is not equal to the domain written to the sitemap XML) then output to XML else do nothing but probably it is a little more complex then that. Making it a setting in relation to the URL master is indeed a little more work and maybe something you do not want to.

Gr.
Marc.
 
New Post
6/29/2011 10:51 AM
 
The source code for the sitemap provider is on the site, so you can definitely download it and make some changes.  It's in the base module, not the individual provider modules.  You're correct to identify that you need a 'if portal alias = portal alias of generated url then include else exclude' type logic in it.  IIRC the code first identifies the portal alias requested, then uses that to feed into the NavigateUrl routine for each page.  So you don't need any special code to work with the URl Master module - just a simple compare on the returned Url will be sufficient to split the sitemaps apart.

If you do this, please post/send me the changes and I will incorporate it into a new version.

 
New Post
6/29/2011 3:00 PM
 
Will do so.
Thanks for your responses.
 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Sitemap includes all portal alias in multi language portalSitemap includes all portal alias in multi language portal


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.