Michelle Glauser
Michelle Glauser

Reputation: 1097

Changing a Site Title without HTML Element or jQuery

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

Answers (1)

kapa
kapa

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

Related Questions