HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0URL RewritingURL Rewriting
Previous
 
Next
New Post
6/26/2008 12:00 AM
 

Nope, still same result. "The resource cannot be found. "

I tried an url with and one without the mid querystring value.

For now I am going to place an actual articledetail.aspx page that just has following line in the page load.

<<  response.redirect("Default.aspx?tabid=69&articleID=" & request.querystring("itemid"))   >>

Or is this going to put a lot of load on the server / problems with google-indexing?

 
New Post
6/26/2008 8:15 PM
 

Unless you append a "Permanently Moved" to the response, Google will not like that.  However, I am perplexed that you weren't able to get that to work, as I spent a great deal of time last night trying to break that RegEx.  It worked fine on a DNN v4.08.03 install.  I even tried adding and removing a "fake" ArticleDetails page to be able to tell you my findings in my previous post.  :(

Sorry that your result wasn't the same.

But your workaround will indeed work.  It shouldn't be necessary, but it will work.


These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
New Post
7/1/2008 1:42 AM
 

Intresting thread,

Was wondering though how does google like these kind of redirects? will it penalize you, or does this work the same way as HTACCESS does.

And can you use this to create new simplyfied urls, For example.

i would like to turn 
mysite.com/home/info/contact/tabid45/default.aspx 
into
mysite.com/contact

Appreciate the help

Greetz R-J


www.rjdejong.net
 
New Post
7/1/2008 10:13 PM
 

So far, I haven't seen any evidence of Google penalizing my sites' page rank for implementing friendly urls like shown here.  In fact, my page rank increased on one site. 

What you are asking in changing a DNN url to a shorter url is indeed possible.  However, to mimic the folder path, you really need to either add a folder with a redirect, implement a module such as PageBlaster to mimic a virtual directory, or your own similar solution using wild card mapping in IIS.

However, if you can settle for a URL more like:

mysite.com/contact.aspx

That is MUCH easier:

LOOKFOR
.*/Contact.aspx$

REPLACEWITH
~/Default.aspx?tabid=123

Another thing I would suggest is making sure your tabid values are all lowercase, as the page rank algorithm has appeared to care about the casing of the "folder names" that the DNN url generates in its default rewrite.


These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
New Post
1/12/2011 10:52 PM
 
Hello Wil,

Please can you advice me for this?
DNN 5.6 has an issue. It is not redirecting to the default.aspx by default.
This mean once I go to www.domain.com it is not working. I should type it as www.domain.com/default.aspx
This is an issue of DNN 5.6
SO I am thinking to use friendly URL option.
If someone comes to www.domain.com it should redirect to www.domain.com/default.aspx
How should I write this?

Tnx
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0URL RewritingURL Rewriting


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.