URLRewriter Submit Button Error | Intelligencia

Today I was using Intelligencia URLRewriter to use Search Engine Friendly URL’s to improve my site’s SEO.

The Problem?

All was working fine until I inserted a button in the page. When I clicked the button, the URL address showed the original URL and stopped working… the button didn’t even do the postback.

The Solution…

To resolve this problem, all you need to do is insert the following code in the Page_Load method of your page:

form1.Action = Request.RawUrl;

 Hope this helped you! Happy RawUrlling 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s