Reputation: 1097
I want to change my page/site title, but I don't have access to all of my HTML code (including title) on the online platform I'm using.
I've used this:
<script type='text/javascript'>
jQuery(function() {
jQuery(document).attr('title', 'Whatever you want');
});
</script>
But I've heard that this change is not SEO-friendly. Is that true? And what can I do instead?
Upvotes: 2
Views: 653
Reputation: 78671
If you want to be SEO-friendly, you have to change it in the HTML.
If your "platform" comes with a CMS, there should be an option to set up page titles.
Upvotes: 5