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
  • 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: 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
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: 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

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.