Jump to content

Add both anchor and category to link

Recommended Posts

Hi,

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, sorry.

Thanks and hope to hear from you soon.

Van

Link to comment
  • Replies 5
  • Views 593
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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
On 11/2/2021 at 7:44 PM, SquareRefresh said:

Hey @vannguyen try this /collectionName?category=categoryName

Hi, I tried that query but it didn't work... Also I need to add an anchor as well but couldn't figure out how to make it work.

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. 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.