I am wondering if its possible to change a pages title other than in the title tags. Basically my website has the same title tag throughout the site as it uses header & footer files, so is it possible to change title within the body tags? Thanks
Not to my knowledge. The only other way to change the title tag other than <title> would be to use SSI to include a file which had the <title> tag inside of it. Best wishes
No. You would need to change your header file on the fly. Add a variable to your header file like <title><?php echo $title ?></title> and then define the title variable before you include the header file.
Well it is possible using Javascript... <script type="text/javascript"> document.title = 'new title'; </script> Code (markup): But that would be horrible from an SEO perspective. As mad4 suggested above, your best bet would be to declare a $title variable before you include your header include file.