Nepherael Posted September 20, 2013 Share Posted September 20, 2013 (edited) I did A LOT of searching to find an age verification popup for prestashop because I just could not figure out how to implement the code myself and I found this http://www.prestashop.com/forums/topic/2122[spam-filter]module-hopopup-avertissement-contenu-adulte/ It probably took me so long to find because it was in another language but it works perfectly. Problem is I've heard that sometimes popups like this can hold up search engine crawlers and other SEO related issues. Do any of you know how I would be able to tell if it will create a problem for any crawlers or any other issues? Also is there a simple line of code I can add to make this popup appear no matter which page of the store is loaded? Thank you very much for any help you can provide Edited September 20, 2013 by Nepherael (see edit history) Link to comment Share on other sites More sharing options...
Nepherael Posted September 20, 2013 Author Share Posted September 20, 2013 (edited) I'm not a very proficient coder but it looks like it will stop a crawler in its tracks. If anyone finds a function in the files that detects crawlers and allows them to pass please let me know. EDIT: there is a JS file in there and I've read that search engines don't run javascript so if the popup is served via javascript it'll be ok but I don't know if that JS file is serving the popup that way, I just know the file is there. So if anyone can clarify I would really appreciate it Otherwise here is one of my options but I would need some help to implement it. I read somewhere I can make the Enter button (that allows you to enter the site) a link and add some CSS to it to make it look like a button and, since it's a link, it will allow crawlers to pass. Does that sound like it would work correctly to you? If so can anyone offer me some code to implement that change correctly? Also, if this module does indeed stop search engine crawlers, does anyone know any other way to allow them through besides the fix I just mentioned? Edited September 20, 2013 by Nepherael (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 20, 2013 Share Posted September 20, 2013 Thank you very much for any help you can provide sometimes, when you use modules like this in google search results you may see description from popup, not from whole page. it's because usually modules like this are attached to "header" section Link to comment Share on other sites More sharing options...
Nepherael Posted September 23, 2013 Author Share Posted September 23, 2013 sometimes, when you use modules like this in google search results you may see description from popup, not from whole page. it's because usually modules like this are attached to "header" section Yes I know that description shows from the popup. On top of that, if it isn't configured correctly search engines can't index the rest of the site. I'm hoping someone can take a look at the code and confirm if it will stop a site from being indexed Link to comment Share on other sites More sharing options...
El Patron Posted September 23, 2013 Share Posted September 23, 2013 from google webmaster tools you 'fetch as Google' your site. Then you can check the stats. http://screencast.com/t/cHe33xsdUma Link to comment Share on other sites More sharing options...
Nepherael Posted September 23, 2013 Author Share Posted September 23, 2013 Thank you very much. That will definitely work. Unfortunately it seems everything has to be implemented and navigable before I can check. I guess it doesn't make much of a difference if I build locally and then transfer. Link to comment Share on other sites More sharing options...
El Patron Posted September 23, 2013 Share Posted September 23, 2013 build locally...then you can compare...probably just some nicky little thing.. Link to comment Share on other sites More sharing options...
Recommended Posts