canonical url problem
SeditioCMS opened this issue · comments
<link rel="canonical" href="http://localhost/sednew/http://localhost/sednew/fiat-oto-yedek-parca/" />
adding double url list.inc.php
this way no problem
$out['canonical_url'] = sed_url("list", "c=".$c."&d=".$d);
page_alias problem adding double url
And Above sed_selectbox_categories is code that needs to be cleared
Screen: https://ibb.co/WK1mqgh
`/*
function sed_selectbox_categories($check, $name, $hideprivate = TRUE, $redirecturl = "", $additional="")
{
global $db_structure, $usr, $sed_cat, $L;
$onchange = (!empty($redirecturl)) ? " onchange=\"sedjs.redirect(this)\"" : "";
$result = "<select name=\"$name\"".$onchange." size=\"1\">".$additional;
foreach($sed_cat as $i => $x)
{
$display = ($hideprivate) ? sed_auth('page', $i, 'W') : TRUE;
if (sed_auth('page', $i, 'R') && $i!='all' && $display)
{
$selected = ($i==$check) ? "selected=\"selected\"" : '';
$result .= "<option value=\"".$redirecturl.$i."\" $selected> ".$x['tpath']."</option>";
}
}
$result .= "</select>";
return($result);
}
*/`
settings screen: https://prnt.sc/cy4unobjWgkG
I haven't tried yet