× Here you can get community support related to ReDJ.

Redirects compatible with FB/Twitter/Instagram et.

  • ian.wyllie@exior.co.uk
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 week ago #7029 by ian.wyllie@exior.co.uk
Redirects compatible with FB/Twitter/Instagram et. was created by ian.wyllie@exior.co.uk
Social networks typically add url parameters to a URL being redirected e.g:

example.com/alpha?fbclid=IwAR08KLiDxaYicHVcZxUWfHRmoVcVpPHSGsMxi-3Mv7P8Iv-dTTeeeisiJ8k

*Using this redirect rule seems to work -
^/alpha/?$

Is this the optimal way of permitting these parameters to be passed through without causing a 404?

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #7053 by admin
Your rule means "match any URL that starts with /alpha with an optional / (the? is not escaped) and then ends". To match the URLs like the one in your example this is better:
^/alpha\?fbclid=

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds