Hello @bruno4italy,
I am not sure, if I fully understand your problem. However, based on my understanding, please find the response below:
1) I think you are referring to google page index. I doubt google will index the popup, it is only the pages that google crawls. (PS: I am not an SEO expert)
2) I assume that you would like to open a popup from a URL instead of clicking a button. In that case, you need to do some custom coding. I suggest you the following:
// Run code as soon as all Areas/Popups are initialized.
DiviArea.addAction(‘ready’, function() {
// Find an Area that matches the current URLs #hash. var area = DiviArea.getArea(window.location.hash);
// When an Area with that name exists, show it instantly. if (area) DiviArea.show(area); });
That’s a general solution that takes any #hash value from the URL and opens the Popup, when there’s a Popup with that name. Feel free to get back to me, in case of any question.
Regards,
Syed
Hi Syed
thanks for the answer you have interpreted well what I was asking about the seo
As for the point I had already read in this forum this solution that you have indicated to me but I would like to understand where I have to anchor the script that you have indicated, I tried to insert it in the personalized css in DIVI! but to no avail
I’m definitely putting it in the wrong place! Thanks
Hello @bruno4italy,
Apologize for the inconvenience!
Firstly, it is a Java Script code so it won’t be placed in the CSS section. In Divi, you have an option to add a code module, you need to put the above script over there. Please don’t forget to add an opening and closing script tag. <script> </script>. For your convenience, I am sharing a divi knowledge base below.
https://divi.space/tutorials/how-to-add-javascript-and-jquery-to-divi/#:~:text=To%20begin%2C%20navigate%20to%20Divi,code%20and%20click%20Save%20Changes.
Please do get back to me, in-case of any query.
Regards,
Syed