February 26, 201214 yr I've run into a problem on my website. On my portfolio page i'm listing my work, when an item is clicked an iframe lightbox window appears with a case study for clicked item, which is actually another page. These pages are being picked up by search engines and can be accessed directly so all they are getting is the case study as the case study page is just a blank page with the information, no template is needed i dont need my whole website to load within the iframe. Is there anyway to over come this? eg.. force the page to reload back to portfolio view with lightbox appearing if it is accessed outside of the lightbox iframe? or if accessed directly it shows the default template, instead of just the case study (blank) template? obviously i could remove the lightbox and send the user to another page with full template but it seems overkill. Hope that make sense.
February 26, 201214 yr You could do the redirects in your .htaccess, set them to 301 redirects now that Google has already indexed them. In the future, use the <meta name="robots" content="noindex" /> tag. Post an example of the URLs. Edited February 26, 201214 yr by andyl
February 26, 201214 yr Or alternatives would be to load the content In via another method. Plus what happens to those with js disabled?
February 26, 201214 yr Author Or alternatives would be to load the content In via another method. Plus what happens to those with js disabled? those with JS disabled would also see the blank case study page.. what other methods could i use?
Create an account or sign in to comment