In your previous post I mentioned the same solution of adding the redirect at the dispatcher i.e. at your webserver end. Let's say end user is trying to access www.anything.com/whateverxmlpath.xml and I want them to redirect to https://www.anywhereyouwant.com then the below rules will work.
What is your request URL? Please provide the exact request URL that end user will be accessing and where you want the user to redirect i.e. the destination URL. I can provide the exact rule that you need to put on dispatcher and it will resolve the redirection issue.
In your previous post I mentioned the same solution of adding the redirect at the dispatcher i.e. at your webserver end. Let's say end user is trying to access www.anything.com/whateverxmlpath.xml and I want them to redirect to https://www.anywhereyouwant.com then the below rules will work.
What is your request URL? Please provide the exact request URL that end user will be accessing and where you want the user to redirect i.e. the destination URL. I can provide the exact rule that you need to put on dispatcher and it will resolve the redirection issue.
I managed to solved it in client side by adding <xhtml:script xmlns:xhtml=http://www.w3.org/1999/xhtml src="<your file>.js" type="application/javascript"/>