I have created one globals set, named as 'Permanent Redirects' in a site with field type array named as 'redirects'.
It was made to work such as {{ current_uri }} stored in 'key' has to be redirected to 'value' ( in array field type named as 'redirects')
The code shown below is used at the top of the
of the site.
{{ foreach:permanent_redirects:redirects}}
{{ if current_uri == key }}
{{ redirect to=value }}
{{ /if }}
{{ /foreach:permanent_redirects:redirects }}
It was working fine till Feb 2023
But it gives 500 server error in the latest updates of the seo pro addon.
It works fine if we remove {{ seo_pro:meta }} from
tag of the site.
Could you please let me know what can be done to make it work same as before.
I have created one globals set, named as 'Permanent Redirects' in a site with field type array named as 'redirects'. It was made to work such as {{ current_uri }} stored in 'key' has to be redirected to 'value' ( in array field type named as 'redirects') The code shown below is used at the top of the
of the site. {{ foreach:permanent_redirects:redirects}} {{ if current_uri == key }} {{ redirect to=value }} {{ /if }} {{ /foreach:permanent_redirects:redirects }}It was working fine till Feb 2023 But it gives 500 server error in the latest updates of the seo pro addon. It works fine if we remove {{ seo_pro:meta }} from
tag of the site. Could you please let me know what can be done to make it work same as before.