Jump to content

Page name in tab showing Page Title but also my name

Recommended Posts

Site URL: https://erickanigan.photography/collections/gypsum-dreams

Hi-

I've tried to be conscious of what I'm naming my pages. The title of the linked page is "GYPSUM DREAMS - Eric Kanigan Photography" which shows up in the tab. However, the tab title also shows GYPSUM DREAMS - Eric Kanigan Photography - Eric Kanigan. This looks redundant and I'm trying to remove my name that appears the second time. I've cleared out the SEO. Is there any way to change this?

 

Thanks,

Eric

Link to comment
  • Replies 1
  • Views 197
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Your name appears second time because it is the website's title. There is no in-built way to change it.  You can however change the title using javascript. Paste the following code in a code block:

<script>
function changeTitle() {
  document.title = "GYPSUM DREAMS - Eric Kanigan Photography";
}
</script>

<script>
window.onload = function() {
  changeTitle();
};
</script>

GYPSUM DREAMS - Eric Kanigan Photography will now be your page title including in the tab. You can replace the value as per your wishes to replicate the same in other pages.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.