Jump to content

Add both anchor and category to link

Recommended Posts

1 hour ago, vannguyen said:

I am trying to add both anchor and category to a link. Is there a way to do that? I'm unable to share the website link.

Best practice is to add the anchor (the "fragment identifier") after the category query string. Depending on the structure, you may be able to use a static URL instead of a query string but without seeing the site it's difficult to be more specific.

Improve your online store with our extensions.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.

Link to comment
On 11/2/2021 at 8:57 PM, paul2009 said:

Best practice is to add the anchor (the "fragment identifier") after the category query string. Depending on the structure, you may be able to use a static URL instead of a query string but without seeing the site it's difficult to be more specific.

Hi Paul, thanks for your help.

What would be the query string for the category? I tried ?category=English (ie. my category is English) but it didn't work.

Thanks,

Van

Link to comment
13 minutes ago, vannguyen said:

What would be the query string for the category?

Please provide a working link to the collection page so we can check. 

Improve your online store with our extensions.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.

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.