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 links and parameters creating duplicate page titles
Hi, we have an affiliate system and use rel=**canonical **to canonicalise them to the right link. Still, we see those links creating duplicate page titles, in Moz crawl and in Google search console. How are we supposed to treat those links so they do not create duplicate content? Thanks for your help!
Affiliate Marketing | | guidetoiceland0 -
UK Affiliate programmes as an advertiser
Hi, I'm looking into setting up an affiliate programme (as an advertiser). The company offers commercial mortgages for a UK market only. I was wondering if you had any experience with any UK affiliate platforms and had any recommendations? I want to test the water with a platform first as we don't really know whether it will work for us or not. We're looking at it for lead generation. Potentially offering payment on a completed mortgage or a lower payment per lead. I think it may be worthwhile offering both options. I'll have to work out the model, but we can make it work nicely for the publisher, I think. Thanks, Amelia
Affiliate Marketing | | CommT0 -
How to setup affiliate marketing for my website?
I work for an ecommerce company and would like to setup some sort of affiliate marketing similar to Amazon. 1. If someone was referred to our site and they made a purchase we would pay out. 2. If we referred a user to someone else's page and they made a purchase we would get paid. I looked into http://www.commissionfactory.com/ but wasn't sure if that would meet my needs. Does anyone have any recommendations?
Affiliate Marketing | | EcommerceSite0 -
How do you find Affiliate Links on your site that have not been nofollowed?
We've just signed up to an affiliate scheme because we were sending links to them because we thought their product was valuable to our users. So we now have to go through and nofollow all of these links over 100's of pages. Is there any way that do a crawl of the site to identify all links to a particular site and tell me what page they are on and whether they are nofollow/follow?
Affiliate Marketing | | Zippy-Bungle0 -
Which is the Best Affiliate Marketing Platform in Australia?
We have 1 eCommerce website (www.bannerbuzz.com.au) for printing products like banners, signs, banner stands, teardrop flags and more... We want to start affiliate marketing for our products with CPA model. So, Do anyone have a good experience with Australian affiliate marketing platform. We are having shareasale account for our USA based website, But Shareasale is not that much aggressive in Australia. So we want to finalize 1 platform for affiliate marketing which can have good strength of advertisers and reputation. Thanks,
Affiliate Marketing | | CommercePundit0 -
Low value link building to sitemap.xml
During some competitive research recently I discovered one of my clients competitors sites had an interesting backlink profile. Looking at the top-pages report in Open Site Explorer the home page was the #1 page (as you'd expect) with 2.5k links from about 500 linking root domains The second page was the sitemap.xml (~1.5k links, 400 linking root domains) and the third was their /feed page (again, ~1.5k links, 350 linking root domains). Links to these two pages aren't something that would happen naturally (particularly the sitemap.xml). There's a whole load of evidence for nasty low quality link building such as over-optimised keyword rich anchor text, comment spam, and even some blog/article based link networks. It's a pretty nasty niche with lots of cut-throat affiliate marketing. My guess here is that someone may have made a mistake using an automated link building too, but I'd be interested in what you might think? Have you seen this before? (Sorry, I can't reveal the domains in question as I'm bound by an NDA.)
Affiliate Marketing | | DougRoberts0 -
SEO and Affiliate Links
Hello, We run a travel related website and we started to run our own affilate newtwork to promote the sales of our products. At the moment the affilate links pont to a spacific affilate url in order to tack conversions : abcweb.com/affiliate/nameqaz I'm wondering how is the best way to run a private affilate programm considering SEO: Is there a way yo benefit from those links ? What are the best strategies to do this? If yes, Is there any benefit from redirecting 301 those links to the original page (the one accesible to google and the one we want to rank for) or is it better to use a king of canonical method. Thanks a lot for sharing you experiences , giving your opinion and indicate resources. Best Regards Daria
Affiliate Marketing | | stereo690 -
I need some feedback on the value of affiliate aggregators like Link Share
My company decided to start a Link Share affiliate program at the beginning of this year. I've had serious reservations about the value of the program since the beginning but was overruled. Here are my concerns: The majority of publishers seem to be coupon scraper sites or borderline link farms I am told the biggest revenue earners in our network are publishing articles about my company with links back to our site but if they are Google Alerts sure isn't finding them and a manual search hasn't turned up anything either. This makes me think these publishers are using some sort of unsavory way to drive traffic to our site or maybe even cookie traffic that was coming to our site anyway in order to get credit for the sale. Most of all I'd like to hear from anyone else who has used Link Share in the past. Secondly I realize there's not a lot of information here but I'm wondering if this passes the smell test for anyone else. Any feedback would be appreciated.
Affiliate Marketing | | eTundra0