Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...No friendly urls in sitemap with custom module developedNo friendly urls in sitemap with custom module developed
Previous
 
Next
New Post
2/8/2009 2:05 PM
 

Hi Bruce,

It might be a small issue, but I am using the friendly url provider of DNN with HumanFriendly='true' option on. I have written own Google Sitemap for my store catalog. However, it seems that the tabid's are not Humanfriendly at all, although they use 'Globals.NavigateUrl' to obtain the url. Do you have any clue what I might do wrong?

J.

 
New Post
2/10/2009 1:02 AM
 

It's hard to say.  First check to see that your 'Use Friendly Url Settings' switch is on in your host settings page.   Do the equivalent pages in your site all show friendly urls?

If that's all OK and it's only your sitemap generator that isn't producing the right urls, just double check the way you're calling the NavigateUrl call.  If you provide the parameters in the wrong way it can skip the generation of a friendly url and just output the url as the old default.aspx?tabid=xx style.  There are a lot of overloads of that call, and you might have to experiment to get it right. 

If you've got access to the source code for the module you're trying to generate Urls for, then copy the call the same way as in the module, and you should get the same results.

 

 
New Post
2/12/2009 3:10 PM
 

Hi Bruce,

You say that it might be that the NavigateUrl is not called correctly. I think I have more problems then. In my modules I also don't get the right url:

http://localhost/fr-be/OnlineTennisShop/tabid/283/Bc/Prince/Cc/TA/Default.aspx

Instead of:

http://localhost/fr-be/Bc/Prince/Cc/TA/OnlineTennisShop.aspx

However, in the menu, http://localhost/fr-be/OnlineTennisShop.aspx

Are we talking about the same?

I guess so, but why does this goes wrong? By the way, I did not activate yet your module. I would like to see what the DNN rewrite does. This is the result of DNN's human friendly url.

J.
 

 
New Post
2/14/2009 6:40 AM
 

The first Url is the output from the standard DNN Friendly Url provider.  The second url looks like it comes from either the iFinity Friendly Url Provider or the Url Master module.   In either case, you're calling the navigateUrl call with /bc/price/cc/ta as the parameters, and that's the expected result.  Obviously this is part of your module.

The menu, however, only generates urls for the base DNN pages, not for any modules on those pages.  That's why the menu will sho /onlineTennisShop. 

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Google Sitemap ...Google Sitemap ...No friendly urls in sitemap with custom module developedNo friendly urls in sitemap with custom module developed


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.