CPAElites 2021 is coming! Finally! No more excuses! - Please click [here] to read more!


CPAGRIP Redirect Issue
2018-09-23, 08:51 PM,
#1
I recently built a site and am using CPAGRIP content locker. When I go to webmaster tools and do a fetch and render I get a 301 redirect message stating the page redirected to the content locker URL that cpagrip uses. So, I submitted a sitemap and only my pages without the locker have been indexed. I need all my pages indexed. Any suggestions? Thanks in advanced.
Reply
2018-09-24, 03:09 AM,
#2
(2018-09-23, 08:51 PM)skeeterz71 Wrote: I recently built a site and am using CPAGRIP content locker. When I go to webmaster tools and do a fetch and render I get a 301 redirect message stating the page redirected to the content locker URL that cpagrip uses. So, I submitted a sitemap and only my pages without the locker have been indexed. I need all my pages indexed. Any suggestions? Thanks in advanced.

Did you enabled on click load method? maybe your lockers is loading instantly when you opening website?
[Image: ada4908ea0e03baac65bced58bcf343a.png]
Reply
2018-09-24, 06:46 PM, (This post was last modified: 2018-09-24, 07:29 PM by skeeterz71.)
#3
I have on page load. I will change it

On click doesn't work. I can download software and nothing popups up to stop me

So i realized i needed to get new code. So here is what happens. I click on the download button and a popup does occur, BUT at the same time the download happens.

This is my button
<img src="../images/download-now.png" onclick="call_locker();" alt="" height="88" border="0" />

I have the script code in the head. I don't know what else to do?

I notice it works correctly in IE but I am able to download with chrome even though the popup blocker occurs.
Reply
2018-09-25, 06:31 AM,
#4
you might have code already on your page that is attached to the download image, so now 2 actions are going off when the download button is pressed. locker action call_locker(); as well as some other javascript on your page, or that image is inside an <a href tag, if thats the case then you can simply remove the <a href and just send them to the url on the locker completion from inside grip
Reply
2018-09-25, 01:08 PM,
#5
(2018-09-25, 06:31 AM)solix Wrote: you might have code already on your page that is attached to the download image, so now 2 actions are going off when the download button is pressed. locker action call_locker(); as well as some other javascript on your page, or that image is inside an <a href tag, if thats the case then you can simply remove the <a href and just send them to the url on the locker completion from inside grip

I’m not using url locker because I have several types of software downloads I use content locker. So I am not sure if how you say do it would work unless I create several url lockers
Reply
2018-09-25, 05:58 PM, (This post was last modified: 2018-09-25, 06:46 PM by skeeterz71.)
#6
Using content locker onclick method. Here are how my buttons are coded. There is no additional javascript. The popup blocker occurs but the download happens anyway.

<a href="https://s3.amazonaws.com/path-to-download.zip"><img src="../images/download-now.png" width="310" height="88" alt="Download" onclick="call_locker();" /></a>

After searching far and wide, I found the answer at --- Forum discussions and promotions are not allowed. --- . If you use content locker and use the onclick method for things like downloads, you will notice you get the popup blocker and the download happens at the same time. Instead of doing this like the content locke instruction example:
<a href="https://s3.amazonaws.com/path-to-download.zip"><img src="../images/download-now.png" width="310" height="88" alt="Download" onclick="call_locker();" /></a>

Add this bit of code: return false; like this
<a href="https://s3.amazonaws.com/path-to-download.zip"><img src="../images/download-now.png" width="310" height="88" alt="Download" onclick="call_locker(); return false;" /></a>

This will prevent the download from happening until they complete the offer and it gets unlocked. This way you don't have to make individual lockers for multi products.
Reply


Related Threads
Thread Author Replies Views Last Post
  S.O.S Newbie need help! cpagrip url/file locker Hektor26 12 3,172 2020-08-08, 10:28 PM
Last Post: cyberdon
  Trends Issue SupremeWarrior 0 166 2020-07-13, 06:12 AM
Last Post: SupremeWarrior
  Basic tips for cpagrip avijitpalit3 4 642 2020-06-18, 12:03 PM
Last Post: CPAGripJohn
  CPAGrip support query SupremeWarrior 13 1,408 2020-06-18, 12:02 PM
Last Post: CPAGripJohn
  How to redirect user after completing survey with cpa build mathewocomy 1 289 2020-06-16, 02:31 AM
Last Post: DrKent







About Us | Contact Us | CPAElites | Advertise | Stats

Copyright © 2013 - 2021 by (company to be announced later)
Temporarily (!) powered by MyBB, fixed (repaired), enhanced and operated by Charlie Harper (GitHub) aka Charles Francis Harper (Wikipedia) - CPAElites - CPAElites session ranking test
Return to top
This forum uses Lukasz Tkacz MyBB addons.