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 854
  • 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.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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. 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.