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
-
Spent months creating links but Webmasters not picking it up
Hey Guys, I've been working on Blast My Deals.com an affiliate site which i have an issue hoping you guys can help with. For the past year and a half we created loads of links from multiple domains at-least over 700+ which Webmasters did pick up since then we've created even more links however when we go in to our Search Console "Links to your site" it shows 214 domains. It seems like our old links are being removed and our new links aren't being added. All the links we created have an average of DA40+ For the past 2 weeks ive noticed a significant drop in organic traffic and loosing our positions on our main keywords. Our DA has also dropped from 33 to 29 in a matter of 2 weeks. I checked everything including robots.txt, sitemap.xml but Im unable to find the reason for it.
Affiliate Marketing | | kazirahman0 -
Affiliate Marketing vs. Remarketing | What are the differences
What is the difference between CJ Affiliates and Criteo Remarketing? Could someone please define the differences? Thank you!
Affiliate Marketing | | JMSCC0 -
Affiliates website, I need webpages linsk to study the topic
Kindly Provide me the best links where I can study about Affiliates websites, How to create them? there SEO? Content etc.
Affiliate Marketing | | bondhoward0 -
How should I deal with the affiliate URLs we create through our affiliate program?
Our website offers an affiliate program and every affiliate gets a link http://www.ourwebsite.com/?affiliateID. Because we get many such links we use redirects to avoid duplicate content. Unfortunately we have 302 redirects set up and I want to make them 301. Many of our affiliates build backlinks using their http://www.ourwebsite.com/?affiliateID as the URL. If such links were redirected through a 301, would they pass any juice? Can our site get penalized by search engines for having backlinks to URLs that contain affiliate IDs, URLs that are 301 redirected to our homepage lets say?
Affiliate Marketing | | nick.leech0 -
Trying to find a good B2B Affiliate Marketing Software solution
Hi there, I was wondering if anyone knew of a good B2B Affiliate marketing service for advertisers. I have a new software tool coming out shortly which I want to sell online and part of my requirements to do this is to set up an affiliate program for it. It has been 5 years for me since I last looked or used any affiliate tools so kind of feel I'm having to start all over again. As to reach of the affiliate solution it really needs to be on a global scale, failing that US and UK networks Thanks for any assistance Re David
Affiliate Marketing | | David-E-Carey0 -
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 -
My datafeed powered affiliate websites die after 3 weeks
Ok, so I've been trying something new lately: There are tons of datafeeds from webshops available on all the major affiliate networks. We thought it might be a nice idea to implement these datafeeds into your own little 'whitelabel' webshop with the power of Wordpress and a couple of plugins that help automate this process. So what we've did is this: Get a domain that is relative to the shop or products we're promoting. Install Wordpress with a plugin that enables you to import the datafeed for those products from 1 or more webshops on the affiliate networks. Each product gets an unique text by an article spinner of about a thousand words. The text on each product page is about 85% different than the others because of a massive synonym list. But each text makes perfect sense and is perfectly readable by humans. We let the system add about 20-30 pages per day so we're not flooding Google with hundreds or thousands of new pages per day because that would lead to a direct penalty. The sites look good, unique and look not much different than your average comparison site. They also have privacy policy's, contact information, newsletter subscription, sitemap, about us and all that stuff. We have masked the affiliate links because I know a lot of affiliate links might ring the alarm at Google. So overall these sites are pretty solid and look good (enough). But here is the problem: We have tried 5 of those sites so far and every time the same thing happens: the site gets indexed, gets some visitors, then quickly builds to about 20-30 visitors a day in 2-4 weeks and then BAM, it's over. Google drops the bomb on us. The sites do not get banned from the index, but they just drop a couple of hundred positions to where they don't get any traffic at all anymore. Every single time this has happened and only in 1 occasion the site "rose from the death" and came back again, but we do not know for how long this will last. So, do you have any idea what the cause of this might be? There is only one thing left I can think of and that's the age of the domain. They were all newly registered, but still, it's weird that they do work for a while and then get dropped. 2 examples of my sites are: http://www.veromodashoponline.nl and http://www.converseonline.nl (sites are in Dutch). Please help!
Affiliate Marketing | | Gioom0 -
In search of the perfect SEO affiliate ID'd URL
Hi, I'm building an affiliate system for our website, and I obviously want to gain as much SEO benifit from it as possible. So I am wondering what the optimal solution is with regard to how an affilaite URL is tagged. After looking into it a bit more - I have come up with the following. 1/. Use an affilaite URL idendifier with a #
Affiliate Marketing | | James77
EG like www.mysite.com#123 2/. 301 redirect the affilaite URL to the "real URL"
EG www.mysite.com#123 301 -> www.mysite.com What do you think of this? Thanks0