Jump to content

rel="nofollow" tag for lightbox links

Recommended Posts

Hello

I have website image gallery which uses Lightbox. It has links as following <a href="?itemId=randomnumber". Now Google treats these link as Alternate page with proper canonical tag. How can i add rel="nofollow" to these lightbox links only. Rest of the image and description, i want Google to render.

Thank you

Link to comment
  • Replies 2
  • Views 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hello - @Prab,

I can help you out here with this situation. Below, I've added some potential solutions to help you out -

Additional information that might be helpful for you:

Thank you
Sadul Sifat.

Edited by SEOSpace_Team

SEOSpace Team

SEOSpace - The SEO Plugin for Squarespace.

Get a Free Squarespace SEO Audit: https://www.seospace.co/squarespace-seo-audit-score

seospace-logo.png

Link to comment
  • 1 month later...

This is pretty interesting, but i d love to know your input on SEO with this absolutly stupid itemIDs which is inappropiate for artists and photographers.
It used to be perfectly setup in version 7

I even don t understand how Magnum photographers have been alright dealing with this issue.

It was and should still be the file name or a URL i can define myself.

would love to hear your thoughts on this.

Bildschirmfoto 2024-03-14 um 11.28.13.png

Bildschirmfoto 2024-03-14 um 11.27.37.png

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.