amazon link update requirement...Amazon changed their servers, requiring an update of amazon ads through several domains and nearly 18,000 html pages. As part of our continuing effort to improve the Associates program's products and services, we are making some changes to our technology platform. This platform change will require you to replace some older product links, banners, and widgets you currently have hosted on your website as they will no longer be supported after July 31, 2015. Text links are not impacted by this deprecation. Action Required We ask that you replace or update the impacted ad units prior to July 31, 2015. The links require the following update that can be facilitated through your CMS (content management system). You may make these replacements at whatever scale you are comfortable with. - Find and replace ws.##FIX## with ws-na.## inactive ## - Find and replace rcm.##FIX## with rcm-na.## inactive ##
quick test to scope the 2nd name change: find . -type f -name '*.html' | xargs grep ws.##FIX## many files
the command could have been executed without xargs as follows: find . -type f -name '*.html' -exec perl -pi -e 's$//ws.##FIX##$//ws-na.## inactive ##$g' {} \; Note: always test commands like this at the bottom of a subdirectory in case you have a syntax error so you don't wipe out your website and learn about the wayback machine like I did... or if you have a backup system how to do restores. I no longer advertise or sell amazon products on my domains - amsoil and my books are the only thing you'll find. |
|
![]() Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview of Linux Commands click for an image of the 5 essential Linux commands An Intro to Linux |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |