WooCommerce - excelling eCommerce
WooCommerce 404 redirection (3 posts)

  1. Artform
    Posted 1 year 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?


  2. Robey Lawrence
    Posted 1 year 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
    Posted 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic