1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 12:00:06 +02:00

SEO Improvement

This commit is contained in:
DanielnetoDotCom 2020-07-21 16:24:07 -03:00
parent fb80bd82eb
commit c4e20ecbb3

View file

@ -3319,6 +3319,9 @@ function URLHasLastSlash(){
function getSEOComplement(){
$txt = "";
if(!empty($_GET['channelName'])){
$txt .= " {$_GET['channelName']}";
}
if(URLHasLastSlash()){
$txt .= ".";
}