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

wp-o-matic url rewrite

Discussion in 'Blogging' started by venthi76, Dec 10, 2010.

  1. venthi76

    venthi76 Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2009
    Messages:
    297
    Likes Received:
    90
    Hi guys,

    Need a help.

    I'm trying to change the url in the post being pulled with my own url. How to get regex command to do this.

    Original link:
    HTML:
     http://www.abc.com/abc/abc?q=blabla&date=blabla
    To replace as:
    HTML:
     http://www.mine.com/some-bolg-posts?q=blabla
    Thanks in advance.
     
    Last edited: Dec 10, 2010
  2. venthi76

    venthi76 Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2009
    Messages:
    297
    Likes Received:
    90
    anyone pls..

    i'm keep trying so many ways like mad.. maybe doing something wrong.. guidance pls.. :D
     
  3. madhackercracker

    madhackercracker Newbie

    Joined:
    Nov 29, 2008
    Messages:
    18
    Likes Received:
    8
    Not sure about your exact requirement.
    However, try this plugin "Page Links To"
     
  4. venthi76

    venthi76 Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2009
    Messages:
    297
    Likes Received:
    90
    thanks but it wont help.

    must be done with regex at wp-o-matic. just not sure how to do it correctly.
     
  5. venthi76

    venthi76 Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2009
    Messages:
    297
    Likes Received:
    90
    Ok, finally i found it. Not so complex if have straight forward conversion.

    I wanted to change the url hxxp://www.abc.com/abc/abc?q=blabla&date=blabla into my own url without changing the content after ?. So this is what i did.

    In Origin, place this:
    HTML:
     http://www.abc.com/abc/abc
    Then in Rewrite, place this:
    HTML:
     http://www.mine.com/some-bolg-posts
    with that, the url changed accordingly retaining the query strings after the "?" sign.

    Cheers