Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

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 3: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 11: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.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
7/1/2008 4: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/2/2008 1:13 AM
 

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.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
1/13/2011 2:52 AM
 
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


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out