Jump to content

Why isn't my URL slug displaying?

Recommended Posts

8 hours ago, Briajean said:

My homepage URL slug should show as /about but instead it is /config/pages#loaded

You will see a URL slug starting with "/config" when you are logged on to your website.

Visitors won't see this. If you log out, maximise the preview window or open your site in a private/incognito window (without logging on) you'll see what a visitor sees.

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

If you share the site's public password, the community will be able to take a look. Right now, the site is password-protected.

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

A script has been installed that is adding the #loaded.

1359631005_ScreenShot2021-05-24at10_40_33AM.thumb.png.54ca5514a10e8a230fb1aafceb7097c1.png

Is this part of getting rid of the zoom issue on mobile?

Also note that the home page will not normally show the url slug for the page. Your home page has two urls. The one at the domain https://chameleon-krill-tryx.squarespace.com and https://chameleon-krill-tryx.squarespace.com/about.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
27 minutes ago, creedon said:

A script has been installed that is adding the #loaded.

I agree. Someone has added a script to your site @Briajean that is adding this.

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
11 minutes ago, Briajean said:

I'm afraid I don't know what an added script means. Can I remove it?

Go to Settings > Advanced > Code Injection and in the HEADER section you should see this script below. Delete it and Save the changes to prevent #loaded from appearing.

<script>
if( /Android|webOS|iPhone|iPad|Mac|Macintosh|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
window.onload = function() {
if(!window.location.hash) {
window.location = window.location + '#loaded';
window.location.reload();
}
}
}
</script>

 

 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment

My header script didn't include a line with #loaded.  I copied and pasted the script below... I tried deleting it and saving just to see if it would change the slug anyway, but of course it didn't. I really appreciate your responses and trying to help me... this forum is vital.  Thank you.

<style>
textarea:focus{
font-size: 16px; /* Adding 16px on focus will prevent page zoom */
}
</style>

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.