We have list of OLD site URLs to migrate on new site. (may be 100+ which I'm not considering it to add in .htaccess)
We have below requirement examples.
i.e. :
https://www.domain.com/sitemap?L=0 ==> https://www.domain.com/sitemap. (where arguments /sitemap?L=0 should redirect to same page - /sitemap)
https://www.domain.com/test?arg=xyz == >https://www.domain.com/ (where arguments /test?arg=xyz should redirect to home page without any arguments at end)
But above are not seems to be handling the arguments in the URL.
currently we tried to add in URL redirects config. it is working as below
https://www.domain.com/sitemap?L=0 ==> https://www.domain.com/sitemap?L=0 (still keeping its arguments)
https://www.domain.com/test-this?arg=xyz == >https://www.domain.com/?arg=xyz. (still keeping its arguments)
can't we make arguments also covered in redirection?
we need those arguments are considered in URL Redirection quality.
Thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
#8 | 2879893-8.patch | 13.53 KB | ajay_reddy |
Comments
Comment #2
venkatesha.k12 CreditAttribution: venkatesha.k12 as a volunteer commentedComment #3
ajay_reddy@venkateshakarle : I will check this.
Comment #4
jfurnas CreditAttribution: jfurnas at Center for Educational Networking commented@venkateshakarle
I am not quite sure I understand your question. Could you try to state it again a little clearer?
Comment #5
venkatesha.k12 CreditAttribution: venkatesha.k12 as a volunteer commentedComment #6
venkatesha.k12 CreditAttribution: venkatesha.k12 as a volunteer commented@jfurnas
edited the main description now. please let me know if still not clear.
overview :
we have list of URLs from old site to new site. all URLs has arguments.
after adding those in URL redirection config, links will get redirect but where arguments still present in URL.
is it possible to avoid it?
Comment #7
jfurnas CreditAttribution: jfurnas at Center for Educational Networking commented@venkateshakarle
Thanks for clearing it up a bit. It sounds to me, like you are asking if you can remove the arguments during redirect? For example, if the old site was:
http://www.example.com/node/25?arg=XYZ
you want it to redirect you to:
http://www.example.com/node/25
Am I correct in this?
Comment #8
ajay_reddyComment #9
venkatesha.k12 CreditAttribution: venkatesha.k12 as a volunteer commented@jfurnas,
Yes. That's right..
@ajay_reddy,
Thank you so much for Patch. going to test it now.
Comment #10
ajay_reddy@venkateshakarle have you tested patch?