• I am trying to add an wild card for this link

    /broker/bio/TeamNameHere/
    /broker/sold-boats/TeamNameHere/
    /broker/photos/TeamNameHere/
    /broker/listings/TeamNameHere/
    to
    /team/TeamNameHere/

    I tried using this
    /broker/*/TeamNameHere/

    And that doesn’t work. Also have tried
    /broker/(.*)/TeamNameHere/

    With no success. The site is launching on Monday so any quick help would be much appreciated. Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • I hope you get an answer. I need the same thing.

    me too.

    From this post: https://wordpress.org/support/topic/redirect-all-link-after-xxx/#post-8361070 I wrote:

    I also would like to know just a simple solution to match all of say anything after /tag/ to just go to one single URL that is not based on a number.

    So for example anything with /tag/ in its url will go to

    / (home page)

    or

    /something-something

    I’m not that advanced at coding and understanding this stuff so any community help here would be great.

    Thread Starter danthony016

    (@danthony016)

    So I found the solution use this as an example

    Boats/122465/photos/

    Redirecting to that boats invertory would be
    Boats/1123465/(.*)/photos/

    You can have as many wild cards as needed. If you need more example please feel free to reply. Or even just giving the URL wildcards urls and then I could help find the right wildcard combo.

    How would you redirect anything with a directory of /idx/ and send it to a different page:

    http:valleywidehomes.com/idx/house-sample-no-longer-a-valid-listing#1

    I tried creating these redirections with no luck:
    /idx/*
    /idx/”*”

    Thread Starter danthony016

    (@danthony016)

    The following redirect with wild cards works for us.

    /inventory/(.*)/3498/(d*)(.*)

    Thanks Joyce Grace and D Anthony. Your link/advice helped me to figure out:

    /idx/(.*)

    It works on my site now. Anything in the directory /idx/ gets forwarded to my new page!

    • This reply was modified 9 years, 5 months ago by Ron85282.
    • This reply was modified 9 years, 5 months ago by Ron85282.
    • This reply was modified 9 years, 5 months ago by Ron85282.
    Thread Starter danthony016

    (@danthony016)

    Glad the wildcards are now working for you.

    Sorry, I’m still not clear on this guys. I moved my site from Source domain to Target domain and need to redirect all my blogposts and other content to the new domain. What should be the Target URL on the 301 New Redirection form so people can find my content automatically? From the answers above I worked out my Source URL as:

    From: http://Source.com/blogpost1, it should use: /(.*)

    What I still need is the Target one:
    To find: http://Target.com/blogpost1, it should use: “X”

    …where “X” is my question.

    Thanks!

    • This reply was modified 9 years, 5 months ago by aglusman. Reason: clarification
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Wild Card Help’ is closed to new replies.