WordPress.org

Ready to get started?Download WordPress

Forums

404 Redirected
Ignore tree? (2 posts)

  1. jelly
    Member
    Posted 1 year ago #

    using 404-redirected 1.3.2

    Since upgrade, the plugin catches all my continueurl's in my wpec webshop (ie .../transaction-results/?sessionid=0123456789.

    Since sessionid is different every time, I can't seem to prevent this?

    Can I? And if so, how do I prevent 404-redirected from redirecting anything with "/transaction-results/" in the url?

    kind regards, Jesper

    http://wordpress.org/extend/plugins/404-redirected/

  2. Core Data Recovery
    Member
    Posted 1 year ago #

    In /wp-content/plugins/404-redirected/includes/frontend.php

    I added
    if($urlParts['path'] != '/transaction-results/' && $urlParts['path'] != 'transaction-results' ){

    in function wbz404_process404() before
    //Get URL data if it's already in our database on line 65

    this excludes the search page from being redirected

    Don't forget to add a single } bracket at the end of the function to close the if function.

    (this tip was from Daniel Tulip) I just modified it so it will exclude your tree.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic