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
-
Looking for a way to crawl and test validity of affiliate links at scale. Ideas?
Hey all, I'm on the hunt for a service that will crawl our affiliate links and let us know when they return an error. I need to know that the last URL in the chain is returning a 200 over thousands of pages and links on a continual basis. The hitch is that most crawlers like Screaming Frog will return all of our links as working because it's only testing the first step, and this really requires a cloud solution anyway. Anyone happen to know of something? Edit for clarity's sake: I need something to check entire redirect chains in bulk that isn't a Wordpress plugin, isn't a website where you plug in a URL and it cuts you off after the first 100 results, and has the ability to crawl the site and provide reporting on a continual basis. Bi75jku
Affiliate Marketing | | BradsDeals0 -
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 -
Affiliate code in urls? affiliate link landing pages?
Is it considered a good or bad practice to have the affiliate code present in your affiliate link url's ? (as opposed to disguising them with something like phpbay) Does the general public not scour the hover-over url's of links they click? Also, is there any way of keeping customers on site when they click affiliate links? (via frames or something more modern) Or is that frowned upon by advertisers?
Affiliate Marketing | | Mozzin0 -
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 -
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 links and Panda
Hello all, my question relates to the recent panda changes and the subsequent impact on pages with affiliate links. I have a hub of pages on my website talking about parcel delivery. Each page has unique, quality content and up until about 3 weeks ago they were starting to achieve strong rankings. We then decided to add some affiliate links (just 3) on each of the 5 parcel related pages we have. The rankings for each of these pages have tanked completely; rather than top 20, we're now outside of the top 100 for all of them. When we noticed this we masked the link, changing it to domain.com/index/affiliate; we also no followed the link. Alas this has had minimal effect in restoring the rankings. What i'm now thinking of doing is removing the affiliate links from the parcel landing pages altogether and instead providing users with a no followed link to another page within the site upon which we would have the affiliate links. This page would also be no indexed as well. My question is: Is this a good idea and if so will it restore my previous rankings over time, or have those pages (as a result of the affiliate links) been permanently down graded?? Any assistance would be gratefully received!
Affiliate Marketing | | danielparry0 -
Does an affiliate link bring the same SEO juice as a standard link?
I wonder if affiliate links, like the ones offered by Amazon Associates program bring the same SEO as would a link to the same page without this additional "ref=..."?
Affiliate Marketing | | maciek-0 -
Affilate links - Google Panda 2.1
With the recent update from Google Panda would links from affiliate Coupon Sites now have an negative impact in Organic Rankings or site value? A reason for this question is because many Coupon Sites usually have poor content and a poor quality score. Thanks
Affiliate Marketing | | Tonyd230