I'm trying to do a rewrite rule on Apache where it rewrites the url to append a query string to the end:
http://example.org/page1.aspx
goes to
http://example.org/page1.aspx?query=12345
Problem is when I apply this rule:
RewriteRule ^\/page1.aspx$ http://example.org.aspx?query12345 [NC,L,R=301]
I end up getting a redirect loop.
Any help would be much appreciated!