Funtionally it working but rather than displaying the fake url http://www.mysite.com/destination-guides/uk-scotland/england/ in the browser's address bar it is showing the rewritten one, http://www.mysite.com/uk-scotland/england/?alttemplate=destinationguide which I don't want and according to my understanding it is not supposed to do.
I'm sure it used to work before and I'm not sure why it isn't now.
Urlrewriting working but it's showing the rewirtten Url in the browser!
I've created a simple url rewrite rule in UrlRewriting.config that take a fake url like
http://www.mysite.com/destination-guides/uk-scotland/england/
and turns it in to this one with an alternative templete
http://www.mysite.com/uk-scotland/england/?alttemplate=destinationguide
Funtionally it working but rather than displaying the fake url http://www.mysite.com/destination-guides/uk-scotland/england/ in the browser's address bar it is showing the rewritten one, http://www.mysite.com/uk-scotland/england/?alttemplate=destinationguide which I don't want and according to my understanding it is not supposed to do.
I'm sure it used to work before and I'm not sure why it isn't now.
Any ideas of what to look at?
Regards, Matt
Hi Matt,
Haven't used urlrewriting.net in a while anymore. We use IIS now for rewriting.
But just to be sure can you add the following attribute to your rule
Dave
It's strange, you have to see http://www.mysite.com/destination-guides/uk-scotland/england/ in the bttowser window.
Thanks Dave,
Are you sure rewrite="None" is valid? I cannot find it documented and when I appended it to the rule it just results in a config error.
I'm using Umbraco 7.2.1 by the way.
Regards,
Matt
I've discovered the problem is caused by the SEO Checker package which has it's own Url Rewriting functionality.
I'll have to figure out the best course of action.
Thanks for your inputs.
Regards, Matt
is working on a reply...