Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Installation of BaseGoogleSiteMapProviderInstallation of BaseGoogleSiteMapProvider
Previous
 
Next
New Post
3/8/2008 4:31 AM
 

Hello 

Should sitemaps be generated on a development location (i.e. Localhost) for testing?  Does this need to be installed on a production site?

Getting the following response from the googlesitemap.axd

  <?xml version="1.0" encoding="UTF-8" ?>
  <urlset xmlns="
http://www.google.com/schemas/sitemap/0.84" />

DNN version is 4.8.1 with blog version 3.4. 

The default DNN sitemap.aspx is showing results, but after updates to web.conf only above is coming back from googlesitemap.axd.  Are there additional permissions I would need to allow it work locally?  I followed the directions very carefully, double checked by locations and verified the web.conf file. 

Any help would be appreciated,

Thank you...David

 

 
New Post
3/8/2008 4:41 AM
 

Hi David,

Firstly, you can test on a localhost, but you do need to install it on the production site so that the sitemap is always up to date.

There are no special permissions needed to get it to operate. 

There is really two parts to the base google sitemap provider - the first is the HttpHandler, which responds to googlesitemap.axd request.  The next part is the ASP.NET  Provider, which is called by the HttpHandler.   Given that you are getting an empty sitemap back, I'd say the HttpHandler part is working OK.  The problem, then, must be something to do with the sitemap provider side of things.

First port of call is to check your web.config entries (again!) which define the sitemap provider  Chances are you might have the 'googlesitemaps' section inside the <dotnetnuke/> section, or perhaps you didn't define the <googlesitemaps/> section in the <configsections/> section.  Any of these problem could cause asp.net to not 'find' the right provider, and thus you get no results.


Chief Software Hacker
 
New Post
3/8/2008 7:11 AM
 

Thanks for the quick reply!

I have confirmed the sections and all looks correct. I also confirmed that I am getting results from sitemap.aspx.  Are the current Providers compatible with DNN 4.8.1? 

I have the three Providers in the /bin folder too.

My path to the site is

http://localhost/GoogleSiteMap.axd

Thanks so much for assisting.

> 

Here are my sections

<section name="googlesitemaps" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapSection, iFinity.DNN.GoogleSiteMapProvider" />
</
configSections>

-----

<add verb="*" path="GoogleSiteMap.axd" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapHandler, iFinity.DNN.GoogleSiteMapProvider" />
</
httpHandlers>

--

</dotnetnuke>

<googlesitemaps defaultProvider="BaseGoogleSitemapProvider">

<providers>

<add name="BaseGoogleSiteMapProvider" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider" defaultPagePriority="0.5" defaultPageUpdateFrequency="daily" includeHiddenPages="false"/>

<!-- Blog Sitemap Provider, used when DotNetNuke Blog module is installed -->

<add name="View_Blog.GoogleSiteMapProvider" type="iFinity.DNN.Modules.GoogleSiteMap.BlogGoogleSiteMapProvider, iFinity.DNN.BlogGoogleSiteMapProvider" defaultPagePriority="0.5" defaultPageUpdateFrequency="daily" showArchives="true" includeHiddenPages="true" />

</providers>

</googlesitemaps>

</configuration>

 

 
New Post
3/9/2008 7:53 AM
 

David

The sitemap.aspx is a totally separate component - introduced into the DNN core after I released my providers, however the provider solution is more flexible and extensible.  Anyway the point is that it will probably work all the time as it is built-in to the DNN core.

Your web.config entries look correct.  I haven't yet tried it with 4.8.1.  I'll upgrade my test site and give it a go, see if I get the same problem.  I doubt it will have any effect, but stranger things have happened.


Chief Software Hacker
 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...Installation of BaseGoogleSiteMapProviderInstallation of BaseGoogleSiteMapProvider


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.