Using the Intelligencia UrlRewriter to rewrite the URL. In the config file, a set of rules is written
I have two set pages,
-
static pages whose name is stable but content is CMS based
-
Dynamic pages (in fact it is not just a dynamic page which has a category which has descriptions and sub-categories)
Here both pages are being rewritten from the config file.
-
For example, the home page, about us page, etc. is being written again
rewrite url = "~
-
Category page URL is having the same type as
rewrite url = "~ /(.*)" to = "~ / GroupHome .aspx? Group = $ 1 "
I have given the rule for the static pages and then the URL given to the category but all the URLs are being rewritten in the grouphom even though I The page has to be given the rule, before us the rules of the category etc. Page.
I have tried that his group is still being directed at home,
< Code> & lt; url = "~ / home" = "~ / default.aspx" to rewrite />
rewrite url = "~ /(.*)/" to = "~ / GroupHome. Aspx? Group = $ 1 "/> & lt; rewrite url =" ~ / home "=" ~ / default.aspx "/>To include both URLs How to write a rule
Try setting the processing attribute to false - Documentation is called The default behavior continues for this, which will then run the next rule:
Processing - Optional: What to do after the process of operation: Continue for next action, stop or start Restart of the default issue.
is taken.
-
Comments
Post a Comment