Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Restrict Page Overlay to a single page (SEO duplicate content)

Restrict Page Overlay to a single page (SEO duplicate content)

Scheduled Pinned Locked Moved General Discussion
seooverlay
1 Posts 1 Posters 15 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cecilia
    wrote last edited by
    #1

    Hi, I need to restrict a Page Overlay to appear on only one specific page of my website

    I use Page Overlays to display four secondary projects on my About page. Users open them by clicking a link in the About page text ( https://www.ceciliapiazza.com/chi-sono/ ). This is intentional — the projects are minor and I like that they're accessible only from there.

    The problem is that the overlay HTML is currently being loaded on every page of the site. Since this content is quite long (four project descriptions), it's being interpreted as duplicate content across the whole site by Google.

    I need an option or a code snippet to make the overlay content appear in the HTML only on the specific page (chi-sono), and not be output on any other page.

    I've looked in Lay Options → Page Overlays but I couldn't find anything like "Assign to page" or "Show only on" setting.

    Is this possible with Lay Theme? Either through an existing setting I might have missed, or through a small custom code snippet you could share?

    Thanks a lot!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

    Want to support my work? paypal.me/arminunruh

    For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).

    Before you post:
    1. When using a WordPress Cache plugin, disable it or clear your cache.
    2. Update Lay Theme and all Lay Theme Addons
    3. Disable all Plugins
    4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

    This often solves issues you might run into

    When you post:
    1. Post a link to where the problem is
    2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
    3. If the problem is difficult to explain, post screenshots / link to a video to explain it
    Online Users
    I
    Ingi
    F
    FloMo
    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
    laytheme.com
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Recent
    • Tags
    • Popular
    • Users
    • Search