Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Canonical Linke...Canonical Linke...Suggestions on Exclude these keysSuggestions on Exclude these keys
Previous
 
Next
New Post
6/11/2010 3:11 PM
 

There are two formats of URL which get generated. On one format, I would like to Exclude the key and for the other I need to leave the Key. The URL's below are the raw URL's with no Friendly. I'm using URL Master.

/Default.aspx?tabid=83&CatID=6 -- I would like to leave the CatID

/Default.aspx?tabid=83&ProdID=41&RtnTab=83&PageIndex=1&CatID=6 -- I would like to Exclude RtnTab, PageIndex and CatID.

If I exclude CatID for the 2nd URL above, it will also remove the CatID for the 1st URL.

Any ideas on how I might handle this?

ISAPI_Rewrite from Helicon is installed so maybe I could leverage that somehow.

Thanks for any thoughts,

Bill

 
New Post
6/12/2010 3:28 AM
 

OK, that's a situation I hadn't thought of before.

You should be able to handle this using the 'Requested Url' option in the Canonical Linker module settings.

Enter these regex expressions to filter the Url as you want:

Regex value to match

(?<prodid>ProdId/\d+)(/rtntab/\d+/pageindex/\d+/catid/\d+)

Regex replace value

${prodid}

This should ignore the 'catid' only Urls, but when the other parameters are there, should show only the prodid.

Url Rewriting isn't going to help easily, because what you're trying to do is to convince search engines there are only two actual versions of the Url, when in fact there are more than that. A redirect or rewrite approach may stop the module from working as you want.

 
New Post
6/12/2010 11:44 AM
 

It works great.

Thanks Bruce!!

 
New Post
6/13/2010 8:45 PM
 

FANTASTIC!

I implemented yesterday and Google already has one URL using the canonical instead of the crawled URL. This is going to be a HUGE help in reducing duplication issues!!

Excellent product.

 
New Post
6/14/2010 12:02 PM
 

Bill - happy it has worked so quickly. I think a lot of people struggle to understand what this product is for but this is a good case study into where you need to use it.

-Bruce

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Canonical Linke...Canonical Linke...Suggestions on Exclude these keysSuggestions on Exclude these keys


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.