WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
WooCommerce 404 redirection (3 posts)

  1. Artform
    Member
    Posted 4 months ago #

    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/

  2. Robey Lawrence
    Member
    Posted 4 months ago #

    happening to me too. I'm using WooCommerce, but not pretty links.
    however i do have other plugins that do redirects.

  3. Robey Lawrence
    Member
    Posted 4 months ago #

    this may be too late for a reply, but i have since found the solution here http://wordpress.org/support/topic/404-page-redirects-to-spam?replies=7

Reply

You must log in to post.

About this Plugin

About this Topic