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
-
How do I easily no-follow my affiliate links?
Hi, I am in the process of setting up an affiliate marketing campaign for my site. I have done a bit of research and understand that it is safest in terms of SEO to add no-follow to the links from the affiliate sites. What is the easiest and simplest way to implement this?
Affiliate Marketing | | whiteonlySEO2 -
How to track Affiliate Clicks to Google Analytics
Hi, We would like to track the affiliate link clicks. Is there any way to track it from Google Analytic? Rajiv
Affiliate Marketing | | gamesecure0 -
Before I request hundreds of links for "nofollow" I want to verify I'm doing the right thing
Happy Thanksgiving Mozers, In my efforts to get rid of a Google penalty, I've come to the conclusion that all the travel agents who link to our site with a unique code, are technically affiliates because they get commission. Therefore we need to get all of them to switch their links to "rel=nofollow". I'm worried this shift will cost us in search rankings, especially since none of our competitors require nofollow tags. So before I actually begin requiring the switch, I wanted to just double check that I'm not misinterpreting Google. Our travel agents are paid commission on every sale (whether their customers click the link from their website to ours, or calls in and gives us that agent's code. So even though our travel agents aren't technically part of an "affiliate program" run through CJ or anything, they are in Google's eyes affiliates of my company. Therefore their links with their personal codes all need to be nofollow. Am I correct on this? I can't find anywhere where Google goes into great depth explaining various types of affiliates.
Affiliate Marketing | | Patrick_G0 -
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 -
Choosing an Affiliate Software & Link SEO-Value
Hello everyone. I'm looking for recommendations for affiliate software. I'm also curious if there is any truth in the "SEO-value" that some softwares are touting as a benefit. Choosing a Software: This Moz Blog Article says to build it yourself. However, I'm inclined to use an out-of-the-box software for advanced features such as real-time analytics for the affiliate, w-9/1099 processing, etc. MozPerks promotes hasoffers.com which seems overly pricey ($230/month with perk discount) and OMNISTAR who just left me on hold for 10 minutes (and still no anwer from their sales department). So I'm still looking. Any recommendations? SEO-value of Links from Affiliates: Here's an example of what OMNISTAR claims about the SEO value of the way they structure the links from affiliate sites to my site. I hear a variation on this pitch from each software and none of them seem to agree. Does Google want me to clearly tag promotional vs. editorial links? Is there SEO-value in promotional links on affiliate sites or is that a load of bologna? Thanks a bunch!
Affiliate Marketing | | Harbor_Compliance0 -
Sponsored Links on Amazon, help
So from what I can see CLickrive was discontinued by Amazon, replaced by a9. I have been asked by a client how they can get onto Sponsored Links near the bottom of a search query on an amazon page. Now I can see from the amazon associates site that you can put widgets, display ads, product search links etc but there is no mention of 'Sponsored Links' other than: SPONSORED LINKS Sponsored links are advertisements related to your recent product search query or content on the page. Sponsored links are always clearly labeled. When you click on a sponsored link, we get revenue. Generating additional revenue from sponsored links allows Amazon.com to offer lower prices to you - something we are dedicated to doing in every way we can. There is no mention on how to actually be a sponsored link... I have read on various blogs etc that it is delivered by a third party network... no mention as to whom... thought Google but no mention of this on any information I can find on Google blogs etc. Anyone have an idea? Thank you 🙂
Affiliate Marketing | | ChalkWard0 -
How do the engines look at pages populated using content from an affiliate site?
We are building out a section of our site using an affiliate partnership in the travel space. How would you suggest organizing the content so we do not get penalized for duplicate content? Do you suggest not suing the content at all?
Affiliate Marketing | | TSDigital0 -
Passing link juice via aff links?
Hi All, I know there was a recent post on this subject but I'm wondering if someone could take a look at these links and tell me if there is any SEO value in them at all and if not, what would be a way to improve them that might not be too much trouble for the affiliate? This URL: http://www.premiermodelskin.com/the-products/blemish-treatment has a Purchase button that passes product data (price, quantity, etc) directly to the basket of the host site (the site we want SEO benefit to). Using a form method to this URL: <form method="GET" action="<strong>http://www.monushop.co.uk/products/premier/blemish-treatment.html</strong>"> Qty <select id="add" name="add"> <option value="1" selected="selected">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </select> 15ml £16.25 </form> My question is, does G see that form GET action as a followable link? If not what would be a better method? Any feedback much appreciated.
Affiliate Marketing | | lovealbatross
Cheers
J0