1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WP Plugin

Discussion in 'General Scripting Chat' started by chris.blair86, Mar 1, 2012.

  1. chris.blair86

    chris.blair86 Newbie

    Joined:
    Jun 19, 2010
    Messages:
    13
    Likes Received:
    2
    looking for the following WP plugin or solution....

    a search and submit. You enter text in search field, if the text is not associated with a page it will tell you invalid code. If it is associated with a page it will take you there.

    Example: discount3 is a valid code.
    Search for "discount3" it will take you to discount3 page

    if you search for a discount that doesn't exist it says "that is an invalid discount code"


    if anyone can let me know if there is a plugin for something like this it would be greatly appreciated.
    Thanks!
     
  2. dannym954

    dannym954 Regular Member

    Joined:
    Jan 7, 2012
    Messages:
    375
    Likes Received:
    150
    Gender:
    Male
    Occupation:
    PrintPit Managing Director
    Location:
    U.K
    Home Page:
    Use redirects, have all searches lead to a page saying "That code does not exist" and then have your redirects go to a good page for the right searches.

    So you would redirect website.com/search/discount3 to website.com/discount3

    You can use the plugin "simple 301 redirects" for this
     
    • Thanks Thanks x 1