Hello I tried to configured my Title on my website. My idea is, any page needs to read the command "include header.php" and automatically update the website title. I found that script but I can't hide .php extension.
Any ideia?
<title>
<?php
$current_file_name = basename($PHP_SELF);
echo $current_file_name."\n"
?> | Site Name</title>