• Resolved dustycat

    (@dustycat)


    Hi there

    I’m wondering whether your plugin will be able to help with a challenge I have.

    I am curating content in a niche market from various vendor websites – many of whom have affiliate programmes I have joined. I am using feeds etc wherever possible to generate the posts but what I would like to do is replace any URLs in those posts (including image URLs) with my affiliate URLs.

    Is there a way of doing that with your plugin so that all URLs from a certain website vendorwebsite.com would have my affiliate ID appended to the end regardless of the structure of the URLs e.g. vendorwebsite.com, vendorwebsite.com/blog-article, vendorwebsite.com/product/product-name

    Fingers crossed! Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    If the URLs are structured consistently so that they can be matched with a rule, then they can be replaced. Chances are you’ll need to use regex-based rules and regex requires some practice to figure out.

    Thread Starter dustycat

    (@dustycat)

    Many thanks for the quick reply Marios

    By structured consistently do you mean for instance

    vendorwebsite.com/product/product-name-one
    vendorwebsite.com/product/product-name-two
    vendorwebsite.com/product/product-name-three

    I’m not familiar with regex but will do some research.

    Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    By structured I mean that there’s some pattern used that you can match against.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Replacing Existing Links Automatically’ is closed to new replies.