Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  URL Rewriting
Previous Previous
 
Next Next
New Post 6/26/2008 12:00 AM
User is offline ThunderHorn
13 posts
10th Ranked


Re: URL Rewriting 

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
User is offline Will Strohl
1333 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: URL Rewriting 

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 LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 7/1/2008 1:42 AM
User is offline rjdejong
67 posts
www.rjdejong.net
10th Ranked


Re: URL Rewriting 

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
User is offline Will Strohl
1333 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: URL Rewriting 

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 LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  URL 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.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP