I have this code here:
<meta HTTP-EQUIV="REFRESH" content="5" url="<? if($saydim=="0") {
echo "$site/search.php?load=$search"; }
else {
echo "$site/v-$seoo-$idd.html"; } ?>" />
The redirect is not working properly with this if else statment, just keeps refreshing the same page and dont redirects to the if url or the else url, at the source code i cannot see anything wrong.
I appreciate any suggestions you may have to fix this.
Correct syntax:
<meta http-equiv="refresh" content="5;URL='http://example.com/'">or short version: