Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Outbound Rewrite rule only works on one page

$
0
0

Hallo

 I'am currently trying to rewrite all our links on all our pages on our website with an Outtbound rewrite rule. The rule rewrites http://Mywebsite.com/page.aspx?id=1&pageurl=mypage to http://Mywebsite.com/1/mypage . The problem is that the rule only works if I browse the page.aspx on the site. If I browse other pages on my site example http://mysite/map.aspx the links on that page is not rewritten, despite that they points to the same url (http://Mysite.com/page.aspx?id=1&pageurl=mypage)

I have looked at the precondition to the Outbound rule, but there don't seem to be written anywere, that this rule should only be applied to page.aspx and not to other pages on my site. How can i get this rule to apply to all my pages on my site.

The above links to be rewritten is sitting on my fotter which is included on my hole site. 

Here is the pattern used for the rule:  (.*/).*?id=([^=&]+)&(?:amp;)?pageurl=([^=&]+)$

Hope someone can help here :-)

Kind regards

Henrik


Viewing all articles
Browse latest Browse all 27852

Trending Articles



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