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
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
-
Guilty of keyword cannibalization. What's the best way to fix it without losing link juice?
Hi guys, I'm new here but I already spent hours reading the forums. I didn't post before because I didn't feel the need to, but today it's different. I don't want to take fixing steps that are not optimal for my website situation. So here's the problem : I am working on an affiliate website that is growing day after day and is already profitable. It is not by any mean a thin affiliate site. It's a french language website with product reviews on it. Right now there is 1 main page (hero page) per review in which I describe the products, put affiliate links, present useful information, etc. These pages have a good word count and I am targeting 1-2 main keywords on them which I consider a good practice. Couple of months ago I decided to add a product page for each one (normally it's 5 products per review) so I added 5 more page per review, targeting product names as new keywords. Problem is that : Product names are very similar to the main keywords (keyword cannibalization problem) There is very little added information on the product page when you compare it to the hero page (too thin) A lot of information is repeated on each of the product pages. I think this is bad. So I decided to keep only the hero pages to keep more link juice, avoid keyword cannibalization, improve page authority and get more content on one single page (only information that was not repeated have been added to hero page). I removed ALL THE LINKS to product pages (from the hero page). So now for my questions : Is it better to keep the product pages in my sitemap or to delete them right away? Is it better to let the product pages die by themselves over time or to 301 redirect all the product pages to hero page to keep link juice? The next question is a bit more complicated. Hope you guys understand what I mean. Considering that product pages are now gone, this will for sure weaken my bounce rate % because only hero page with good/deep information will be accessible to visitors (there is not a lot of internal links in each review, except to other, RELATED reviews). Is setting up goals in google analytics + telling google that it should consider a click on an affiliate link as a NEW PAGE VIEW (like it would act for a click on a link of a product on my own domain) will help for SERPs and SEO?? Or it will just help ME to see a lower bounce rate and setting goals? In other words, is tracking these links and let google see them as new pages clicks will help for the page rankings or not? Because from what I am understanding, a good bounce rate helps for rankings. If the changes made to avoid keyword cannibalization work, when could I potentially see the effects/benefits in the SERPs and trafic?
Affiliate Marketing | | benoit_20181 -
What is the danger of integrating different affiliate program widgets far under our core content?
We have pages with lots of unique content that are ranking very well in google.
Affiliate Marketing | | lcourse
I am now considering to add towards the end of the pages widgets from the booking.com affiliate program and also from the affiliate program of two other accommodtion sites. These affilliate widgets would be placed far beyond our core content in the bottom 15% of the page. Each widget will contain a large number of links to the different accomodation options that booking.com or others offer. In our context this information would be indeed very useful for our visitors. Shall I be concerned that our google rankings may suffer due to google perceiving our site as less quality (or google misinterpreting our intent to generate traffic to affiliate programs) ? If google rankings would be suffering, is this something we would normally see in a week (most of our pages are crawled daily by google) and then recover in a week when we would remove the widgets or would this generally be something that would affect the ranking over the course of a month or more? Shall I be concerned abou link dillution since my pages would now have a lot of links pointing to the affiliate sites, which could devalue my internal links? Any thoughts?0 -
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 -
Advise about Social Sharing between two loosely affiliated website - (retweets/fb cross sharing)
So basically, I have two websites. One being my Primary website and another which is very Niche/Seasonal. Now the Niche website received a penalty, and was later re-included however google traffic has been extremely limited since being reindexed. (bing never had a problem, still top ranked) I don't directly link back and forth between the two websites because its not worth hurting my primary websites ranking. I'm sure google knows I own both anyway, as they are on the same webmaster tools but the Niche site was kicked for spammy link building & its been an endless process removing them all. Anyway, with that being my concern. Would it be acceptable to cross share facebook posts, retweet and do things like that on occasion? My primary reason for asking is because the Niche website has a very large social following, so I would like to share post/tweets from my Primary site when its relevant and vice versa. Appreciate any suggestions/comments. Thanks!
Affiliate Marketing | | Southbay_Carnivorous_Plants0 -
What is the right way to link to your main site?
Hi, we have a system for tracking the leads that comes from a specific affiliate website. each affiliate has a unique tracking code. not only for affiliates that work with us but also for the SEO team has an affiliate tracking code so our bosses can track the leads and traffic that come from the activity of the SEO team. this means, links towards our website look like: www.mydomain.com/?t_src=campaign&t=AFF&t_cre=links&A=371 www.mydomain.com/?A=371 I have few questions about this: 1. This is the right way to link to my company site? How dose google crawl those link? It's can harm the link value? 2. What is my option to show my boss all the traffic / leads that our seo team brings to the site trough Google Analytics? Hope to get your support. Thanks in advance.
Affiliate Marketing | | JonsonSwartz0 -
Two Tier Internet, Bad Blogs and One page Affiliate Sites
Hi, I start a post on a popular internet marketing forum about how bad blogs - (i.e. the ones with one posts of over optimise spun garbage) - and the one page affiliate sites - trying to sell you something... (you know the ones) - were REALLY starting to annoy me and if/when something would be done by ISP's or Anyone really. Obviously google is aware of the issue with trying to push Google Plus to crowd source better search results. But with more and more sites popping up telling people how they can make money from having a niche website/page with adwords on it aren't we fast moving to a two tier internet.... How websites/pages exist purely to game search engines.... and will they ever disappear.... Sorry mini rant..... might even get some ideas for a blog post 😛 (not on a bad blog before anyone says anything)
Affiliate Marketing | | JohnW-UK0 -
Using follow links on client and resellers site
Hi, i have a backup software product that I sell to business. I would like to create a badge that says something like "powered by x backups". This would be an image with a href url pointing back to my company site. I would intend to give the client a discount if they were to place the small logo in the footer section of their website. I would also like to offer this to resellers. For example "Authorised reseller of x backups" badge that could be placed on the resellers website. I would like to do this for two reasons: To promote my company to the visitors of the clients website To build link juice Would this be effective in building quality links? It this type of link building allowed by google? If not, how strict are they? Is there any variation of my intended promotion strategy that would be more effective? Thanks
Affiliate Marketing | | blakadz0