Forum


HomeHomePremiumPremiumDevelopmentDevelopmentManaging large number of "pages"Managing large number of "pages"
Previous
 
Next
New Post
5/14/2013 4:34 AM
 

Hi Allan,

This was by a combination of string manipulation and IIS Rewrite. I will list what I did here:

1 - First I have created a page and placed xMod template on it. This template would show the professional details and would accept the professional name as the filter from the URL;

2 - Then on IIS Rewrite I have created a rewrite rule that would translate the friendly URL into a regular non friendly URL. This is done on the web.config, but you need to have IIS Rewrite installed on your server. Maybe the same result can be achieved with ifinity, but I cannot assure you of that; 

<rule name="RewriteUserFriendlyURL7" stopProcessing="true">
          <match url="dotnetnuke-professionals/([^/]+)/?$" />
          <conditions>
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
          </conditions>
          <action type="Rewrite" url="Classifieds/DotNetNukeProfessionals/ProfessionalDetail.aspx?professional={R:1}" />
</rule>


Best regards,

Aderson


 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentManaging large number of "pages"Managing large number of "pages"



Try FREE
30 days money back guaranteed