Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Can we ignore some links having specific css class during iis rewrite rule

$
0
0

suppose i am using a outbound rule which is injecting country code in all the links of default.aspx page but i like to know can we ignore few rule to modify their url.

suppose may pages has these links

<ahref="http://localhost:8800/default.aspx">Home</a><ahref="http://localhost:8800/default.aspx">Home</a><ahref="http://localhost:8800/default.aspx">Home</a>

where url rewrite will inject country code and again my page has few more links like

<ahref="http://localhost:8800/prod.aspx" class = "clsignore">Home</a><ahref="http://localhost:8800/forum.aspx" class = "clsignore">Home</a><ahref="http://localhost:8800/blog.aspx" class = "clsignore">Home</a>

now see above links which has css class attached clsignore so i want to give instruction to rewrite rule as a result it will not inject country code to those links which hascss class called clsignore.

if this is possible by outbound rule then please share a sample code.

thanks


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>