Can a redirect copy a URL parameter?
-
Hi,
I have set up a DNS redirect on our domain hosting so that https://www.disciplegrowth.org redirects to https://www.missiongap.org/disciplegrowth.
https://www.disciplegrowth.org is a parked domain, and https://www.missiongap.org is the WP install.
I need to create a redirect that copies a url parameter from the source and adds it to the target.
Is it possible to create a redirect from https://www.disciplegrowth.org/results/?church={post_id} to https://www.missiongap.org/disciplegrowth/results/?church={post_id}&wdt_column_filter[churchid]={post_id}
I’m basically trying to avoid sending our users a long and messy link i.e without the wdt_column_filter[churchid] parameter.
The {post_id}’s are exactly the same value.
Thanks
Ian
- The topic ‘Can a redirect copy a URL parameter?’ is closed to new replies.