Find all affiliate links in a custom CMS
-
I have a custom CMS. I offer a few affiliate products through my site. Now I need to update all my aff. links and I'm not sure how I can find all the pages (posts) on my site that have affiliate links. What's the best way to do that?
-
.htaccess processes requests received by your webserver. It doesn't process HTML sent to the client, so it can't affect those affiliate links.
-
Hey,
As Jane mentioned - .htaccess can't change the HTML content of your pages, so you can't replace all the links that would be seen by a user or a browser.
If the links are via a redirection page on your site then you can use .htaccess to redirect those requests elsewhere, so when a user clicks a link it takes them somewhere else instead, but only if those pages are on your site.
Make sense?
Good luck!
-Tom
-
Hi Vince,
.htaccess can't change the HTML of the webpage, but I am not sure if it can rewrite outbound clicks. I'll reach out to other other contributors to see if anyone has a shortcut way of updating these links. I am seeing it mentioned online that you can do this, but I would like some verification from the team.
Cheers,
Jane
-
Afraid I can't help you with that one. Sorry!
-
Thanks guys, that makes sense. I'm doing what you suggested now. Once I find all my pages with affiliate links, is it possible to use .htaccess so that it requites those links automatically? Basically, it should go to a specific page, find the link I define, and change it to a new one. Is that even possible with .htaccess?
-
I would agree with Andy. Screaming Frog SEO Spider is a good tool for this. Just check all the "In Links" from the external urls you need to find on your site.
-
Probably the best way to track down all the pages, would be to use Screaming Frog Spider. Put in the URL and leave it to go.
The free version crawls up to 500 pages with the paid version being unlimited.
-Andy
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Affiliate marketing for our Amazon Products ??
Hi Guys. Can any recommend or is it possible to build an affiliate marketing programme to generate sales from our Amazon product pages rather the the traditional way of generating sales through your own website ? Can anyone advise ? Or recommend any companies ? Thanks Gareth
Affiliate Marketing | | GAZ090 -
What impact do affiliate links have on SEO
We commonly reference engineering standards on our site (because half our products are known and searched for by those standard names) and have just signed up as an affiliate to an organisation that sell the standards. Which seems a nice match We're going through and making sure all are no follow now because that seems the general advice - but should we be doing anything else? Yoast says you should mask affiliate links - https://yoast.com/affiliate-links-and-seo/ - but that was from 2010. Matt Cutts is fairly clear on nonfollow - http://www.webpronews.com/heres-what-googles-matt-cutts-says-about-affiliate-links-and-nofollow-2012-06 - but not on whether it affects SERPS Does it? And what is the best way to handle it? This is a typical example of a page where we would have an affiliate link or two. http://www.oakleysteel.co.uk/fake-mill-certificates-en10168
Affiliate Marketing | | Zippy-Bungle0 -
'legitimate' link wheels
I was wondering what SEOMoz' thoughts are on the mega legitimate link wheel sites that are out there. TechMediaNet have been buying up massive news/media sites which arent really monetised (adsense) like http://www.space.com/ http://www.ouramazingplanet.com/ livescience.com and others and generating, admittedly good quality, curated content. Then seeding them with content with backlinks to their money site, toptenreviews.com which in essence is a review site with thousands of pages loaded with affiliate links no better than any of the other site out there. e.g. http://www.livescience.com/9755-bing.html due to the scale of what they're doing pretty much any keyword search i do with review in it (the last thing i wanted to purchase was a usb 3 hub) ends up with toptenreviews.com dominating the serps presumably due to the high PR the viral nature of the media sites are working with. Do you think Google will crack down on this, or do you think it's capitalism in action? TechMediaNet have invested millions in this project and just gotten another $33 million in funding recently.....
Affiliate Marketing | | idimmu0 -
Ecommerce affiliate marketing comparison engine
Does anyone know if there is such a thing as an ecommerce comparison platform for affiliate programs? Something that would say, take a particular product, and let the user compare between Amazon, eBay, Walmart (all would be through affiliate programs). Does such a thing exist? Or is such a thing even feasible? oops, sorry for multiple posts, please let me know if i can delete somehow
Affiliate Marketing | | Mozzin0 -
Looking for a nice way to add an amazon affiliate store to my site
We are often asked what our favorite toys, books, resources, etc, are and I want to make a page(s) with our top resources that is a nice clean amazon affiliate store. Are there are good resources anyone knows of to do this? (I'm using a wordpress blog by the way....perhaps there is a plug in?) Thanks.
Affiliate Marketing | | NoahsDad0 -
Merchant´s data feed for affiliates is the same content as their own website...
Hi Some advice appreciated. Started working on a site and found out that they are giving their unique content to their affiliates (an XML feed so appearing on another domain). In this case, if they want to provide the data like that, how can we protect ourselves? Should we use author tags in our html, is that necessary? Is there any fix other than "stop doing that and give them different content"? Thanks
Affiliate Marketing | | xoffie0 -
How much SEO benefit am I getting from 'affiliate' links?
Hi all, We run lots of different campaigns with affiliates and as such they have links on their websites pointing back to ours. I was keen to know how much 'link-juice' these kinds of links are passing back to our websites or how much SEO benefit we are getting from them. The links have "?=affiliate" in them. Any thoughts would be greatly appreciated!! Many thanks! Rob
Affiliate Marketing | | RobertHill0 -
Affiliate System for my Website
So, I like to implement one affiliate system on my website and to generate URL for every online marketing campaign. because i like to know when someone has ordered it from Organic, and when from any Google Adwords Campaigns etc.. What do you suggest me to implement?
Affiliate Marketing | | leadsprofi0