I've been trying to add a redirect rule where my site's old URL along with the trailing querystring gets redirected to my new URL, but no luck so far. Following is the example of what I want to achieve
old url: mysite.com/thinking/{query-string}
new url: mysite.com/thoughts/{query-string}
Checking the option for Querystring on Redirect Manager behaves strangely like it will allow the old URL mysite.com/thinking?{query-string} to be redirected to mysite.com/thoughts/?{query-string}
Its pretty strange, so can someone help me here and correct what I've been doing wrong.
Thanks for the prompt response. I've tried the querystring option as well but its not working, kindly have a look at the attached image of what I've been trying.
Then just redirect our-thinking WITHOUT querystring parameter option to insights. When redirect is found and forward querystring is set it will redirect with the querystring.
Redirect URLs with querystring
Hi,
I've been trying to add a redirect rule where my site's old URL along with the trailing querystring gets redirected to my new URL, but no luck so far. Following is the example of what I want to achieve
old url: mysite.com/thinking/{query-string}
new url: mysite.com/thoughts/{query-string}
Checking the option for Querystring on Redirect Manager behaves strangely like it will allow the old URL mysite.com/thinking?{query-string} to be redirected to mysite.com/thoughts/?{query-string}
Its pretty strange, so can someone help me here and correct what I've been doing wrong.
Regards,
Nauman
The querystring option in redirect settings is the one you should use since that will redirect to a new page based on the querystring parameter.
Hope this helps,
Richard
Hi Richard,
Thanks for the prompt response. I've tried the querystring option as well but its not working, kindly have a look at the attached image of what I've been trying.
Regards,
Nauman
You should add a real querystring like ?pageid=22
Oh well, what I wanted to achieve was a generic redirect where
/our-thinking/{Query-String}
gets redirected to
/Insights/{Query-String}
Where {Query-String} can be any value, so that I don't have to add 100+ URLs redirect.
Is this possible?
Do you just want to forward the querystring? Then you need to set "Forward querystring" Option in the general configuration settings of seochecker
Well I've that option checked as well in configuration, but still its redirecting to error page for example
http://folio1.com.au/our-thinking/what-is-software-as-a-service-saas
should get redirected to
http://folio1.com.au/insights/what-is-software-as-a-service-saas
I've removed all other redirect rules other than the basic one that is following
But is that what you are after? It should forward the querystring (real querystring ) not what you have specified since that is just a string
Best,
Richard
Yes Richard, I'm after what you just mentioned. In other words my old website had child nodes under
mysite.com/our-thinking/
now in new website those are under
mysite.com/insights/
so all I want is to have anything from first URL be pointed to second with the real querystring attached
Then just redirect our-thinking WITHOUT querystring parameter option to insights. When redirect is found and forward querystring is set it will redirect with the querystring.
Hi Richard,
Its not working, one question though, does the module handles querystring as in MVC or just with "?"
Because if its catering for "?" only then it's not working for me.
It forwards ?etc
Alright Richard,
Thanks for your help, I think I need to write down my own URL rewrite rule for my scenario.
Regards,
Nauman
is working on a reply...