I live in California, so Amazon just sent me a rather brusque email telling me that they were kicking me out (along with every other affiliate in California)! So, I went to HomeSite html editor to remove the Amazon affiliate links from my site (if they're not going to pay me, I'm not going to keep sending them customers), but then I realized two things: One is that I have literally hundreds, if not thousands of Amazon links on my site. The other is that each link is unique, since most of them are based on search results using a keyword. So, using a universal find & replace isn't going to be easy in this instance. Granted, I could use it to just alter part of the common URL, so the links no longer worked properly. But that would leave my visitors clicking on dead links that produced an error page. Any suggestions about how to get rid of the links (without deleting each one by hand) are welcome. The basic format for most of my links looks like this: <A HREF="http://www.amazon.com/gp/search?ie=UTF8&tag=MyOldTag&index=blended&linkCode=ur2&camp=1789&creative=9325&keywords=whatever" target="out"> The keyword(s) of course ("whatever" in the example) is different in each link. Worse, many of them are text links, meaning there is different text between the opening of the tag and the </a> closing tag. Any idea how to quickly get rid of them? Thanks.
I'm in the same boat . . . hundreds of individually placed book links placed on hundreds of pages. Are you planning on replacing them with something else, or do you just want to get rid of them?
I'd like to eventually replace them with some other affiliate, but at the moment, I just need to stop them from sending traffic to Amazon, without giving my visitors dead links.
You can use a regex to remove or replace links. So in theory your regex would match on <a href="http://www.amazon.com... and replace the entire link. I suggest finding a way to replace the link with a comment so you can then go in and do a replace later with your new chosen affiliate.
So this Amazon problem has come to CA too. That sux. You need fine a good search and replace tool. Dreamweaver has one inbuilt.
I know what you mean. I have quite a few websites with Amazon links that I need to begin replacing. My advice would be to hire an outsource guy to go through all of your websites and add new affiliate links...