Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterDifference between Friendly Url Provider and Url Master Module ?Difference between Friendly Url Provider and Url Master Module ?
Previous
 
Next
New Post
5/3/2008 2:03 PM
 

That's bothering that I can not make new posts...

Bruce,

I have a new question, I would like to know if it is possible to redirect-301 to the home page a URL which is not existing. For example, if I have a page called http://mydomain.com/greeting.aspx and someone is typing http://mydomain.com/greting.aspx (one e in greeting), that would be great that we can redirect to home page.

Is it possible currently ?

DV FX

 
New Post
5/4/2008 12:47 AM
 

If you're talking abuot a common misspelling, yes, that's easy to do.

If you want to redirect a common misspelling to one of your pages, just go to your ''Admin"->"Page Urls" page, select the page you want the redirection to go to (in your case, the home page) and add in the misspelt page name.

If you're talking about a generic catch all for any unrecognised Url, you should probably do that through your site 404 handling.  You can define custom 404 handling in your asp.net web.config file.

I've got plans for a custom 404 page setting in a future release, but it's a fair way away at the moment.

It's my belief, that, all things being equal, it's better to return a 404 status when an invalid url is requested than a 301 or 302.  However, the best thing is to return a 404 status and give the user more options to find other pages (assuming they got the domain correct)

 
New Post
5/5/2008 8:12 PM
 

Thanks. Do you have a good link to give me to customize 404 ? Currently, they are not so nice...

I think that you did not see my previous request. I copy and paste it here again (I got plenty of error in my log, I do not know what to do) :

 

Bruce Chapman wrote

DV

You need to uncheck all your notification settings and then just set it at one level only.  The notification error comes from having duplicated notifications set. (I think)

The message in the event log is inserted every time the page cache is rebuilt.  If you are seeing very frequent insertions of the event log, then your page cache is being rebuilt too often.  There are two things that can cause this:

1) A match on the regex field of 'rebuild page index' with an incoming request

2) An application or application pool restart.  This may be due to memory size limits or other IIS App Pool settings which is frequently restarting your application pool.  Normally it will be surrounded by other 'app start' type messages if this is the case.

The message is informational, it's not a problem unless you are experiencing poor peformance.  I'll look at an option to turn it off in a future release.

Bruce,

I do not understand what you mean by: "You need to uncheck all your notification settings and then just set it at one level only.  The notification error comes from having duplicated notifications set. (I think)"

Can you please explain a little bit ? I am not an informatic expert in DNN, I am self learning, and it takes me time. I spent the whole night (until 02h00 night yesterday to debug some module), you see I am a bit slow...

Otherwise, for the frequency, it is not linked to the application pool restarting (I would see it in the event log viewer).
So, what do you mean by: "1) A match on the regex field of 'rebuild page index' with an incoming request"
Where and how could I modify this ?
Thanks for your support,

DV FX

 
New Post
5/7/2008 12:57 AM
 

You need to uncheck all your notification settings and then just set it at one level only.  The notification error comes from having duplicated notifications set. (I think)"

In the menu options for this forum module, there is a 'My Settings' link.  In there, you can subscribe to different forums by checking the 'subscribe' box.

In each forum, there is a notification checkbox.  In each thread, there is a notification checkbox.

You must only choose one of these options - if you check the checbox to subscribe to all forums in a group, you shouldn't use any of the other checkboxes.  You can only subscribe to a thread if you haven't checked the 'subscribe to forum' checkboxes.  If you have duplicated any of these, you'll get an exception when you create a new thread.

As for the page rebuild index, in your 'Host -> Friendly Url Settings' page, you should see an option in the 'Regex Filters' which has the heading of this 'Rebuild Page Index and Update Cache when Url matches this Regex'.  In it is a regex filter.  Any request that matches this filter will result in the page index being rebuilt.  So, if there is something in your Urls that looks like it will match this value, then you'd be getting too-frequent page index rebuilds.  But as yours is happening on a regular basis, rather than a random pattern, I'd say it has something to do with app pool recycling or web cache clearing.  It's very difficult to tell without an in-depth analysis of the site, including all the asp.net caching settings, IIS app pool and website settings and a few other things.

It's only something to worry about if you are experiencing poor performance, though.   I will put an option in to 'silence' the messages so you don't fill the log - this will be in the next release.

 

 
New Post
5/7/2008 3:19 AM
 

In response to the original thread question, I've posted a blog on discerning the difference:

What's the difference between Friendly Url Providers?

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterDifference between Friendly Url Provider and Url Master Module ?Difference between Friendly Url Provider and Url Master Module ?


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.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).