Question About The Redirection Wordpress Plugin

Discussion in 'General Scripting Chat' started by agag2, Oct 18, 2011.

  1. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    Hi

    I'm using this plugin to redirect URL

    It allows u to redirect based on referer

    I looked at there site but can't figure out how to redirect a whole website

    Like if the referer is example . Com I'd like to redirect example .com /post1 example .com / post2

    Etc

    I know u use regex but what's the exact format?

    Thanks
     
  2. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    Anyone?
     
  3. moooeeey

    moooeeey Junior Member

    Joined:
    Mar 1, 2011
    Messages:
    119
    Likes Received:
    51
    I'd like to know as well. At the moment I am redirecting on a post by post basis but want to do all posts together.
     
  4. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    anyone?
     
  5. Pekton

    Pekton Regular Member

    Joined:
    Nov 28, 2009
    Messages:
    250
    Likes Received:
    105
    Location:
    upstate ny
    if example.com is redirected to /post1 , what you want everyoneelse.com to be directed to?
     
  6. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    ^

    that will be redirected somewhere else
     
  7. Pekton

    Pekton Regular Member

    Joined:
    Nov 28, 2009
    Messages:
    250
    Likes Received:
    105
    Location:
    upstate ny
    ah saw your wordpress support question , now its clearer.

    I believe it would be Source url (.*)
    your referer would be wordpress.org/(.*)

    match url X
     
  8. agag2

    agag2 Supreme Member

    Joined:
    Feb 17, 2009
    Messages:
    1,309
    Likes Received:
    254
    ^ thanks

    Ive actually tried that but for some reason didnt work
     
  9. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,876
    Likes Received:
    12,648
    Occupation:
    Potentate
    Location:
    Asuncion
  10. caavemaan

    caavemaan Registered Member

    Joined:
    May 15, 2010
    Messages:
    71
    Likes Received:
    27
    Occupation:
    ex-CSC employee
    I can't seem to get this to work. I had a website last year with this installed and it worked just fine. I ended up loosing that server (don't ask) and decided to get a hosting plan last month. Now I've got it installed and doing everything like I used to, but it doesn't redirect. Just goes to the page its supposed to redirect from.

    Is this still working or am I doing something wrong?

    All help is appreciated:cool:
     
  11. Pekton

    Pekton Regular Member

    Joined:
    Nov 28, 2009
    Messages:
    250
    Likes Received:
    105
    Location:
    upstate ny