Jump to content

Hide 7.1 portfolio pages from search engines

Recommended Posts

Site URL: https://kcostudios.squarespace.com/

Hi– I've used a portfolio page in order to setup a typographic menu with image swap rollover on the homepage. These menu items all link out to individual pages or anchor links. I wasn't able to use the normal portfolio pages to design this content as they were restrictive on the content and some menu items share a link etc. I was able to circumvent this with code from this forum placed in the code injection:

 

something like this:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

<script>

   $(document).ready(function() {

     $('.portfolio-hover-item[href="/home/interior-architecture"]').attr("href",  “/creative-services/#interior-build”);

     $('.portfolio-hover-item[href="/home/custom"]').attr("href", “/custom”);

     $('.portfolio-hover-item[href="/home/creative-direction”]’).attr("href", “/creative-services");

     $('.portfolio-hover-item[href="/home/sourcing]’).attr("href", “/sourcing”);

     $('.portfolio-hover-item[href="/home/collateral”]’).attr("href", “/creative-services/#collateral“);

     $('.portfolio-hover-item[href="/home/art-curation”]’).attr("href", “/creative-services/#custom“);

   });

</script>

 

The above code works to redirect the urls to the right pages and avoiding the built in portfolio pages. However I'm now concerned the blank portfolio pages that are unused will be visible on search engines based on their url name e.g. if it's interior architecture will that come up in the listing.

 

As this forum has made clear it's not possible to disable individual pages within a portfolio. Is there any way to hide those 'blank pages' from search?

 

url:  kcostudios.squarespace.com

password: demo

 

Thanks!

 

 

 

Link to comment
  • Replies 0
  • Views 209
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.