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 -
Set up affiliates
Hi Mozzers, As a response to Rand's recent (ish!) whiteboad Friday (http://moz.com/blog/my-customers-wont-amplify-my-content-whiteboard-friday) where he talked about how many verticals will never gain much in the way of links because they aren't fun or exciting products/brands. I think my sites fall into this - we sell mortgages! Not the most exciting or sexy of products, but try buying a house without one! With this in mind, I am looking at building an extensive PR campaign, but this will take a fair bit of time to get going. In the meantime, my boss has asked me to find some paid link opportunities. I've been trawling through our main competitor's backlinks like a demon (so much trash in there though, why hasn't Google noticed it yet??) and one of our main competitors looks like they are running an affiliate scheme. I have absolutely no experience in this area. None. Zip. Nothing. I want to change this! And get some good relevant (converting) traffic to my site. I personally think this would be more beneficial than buying links (my boss understands that any paid links I get will have to have nofollow and therefore would be built for traffic) because we'd only pay when we made a sale - right? I think this is the way it works? Anyway, I wanted to know how to become an affiliate? Sorry if I've got the terminology wrong here - like I said before I have zero experience in this. Please can someone point me in the right direction? I've found a few companies that appear to act as the middleman but I have no idea of what is good and what isn't in this area. Steep learning curve for me.... Any knowledge you wish to share with me on this would be greatly appreciated! Thank you 🙂
Affiliate Marketing | | CommT1 -
New to Affiliates Programs - Any advice?
Hi, I've no background knowledge of affiliate programs and am wondering if this would be a good idea for our company, www.vintageheirloom.com? We sell for the most part expensive, vintage bags and jewellery. Would an affiliates program be appropriate or possibly annoy and hinder customer loyalty rather than promote it? I'm using WP with Woocommerce and have seen a plugin that connects Woocommerce with Ambassador. Does anyone have any previous experience with this company, worked well, any things to watch out for etc. One issue that puzzles me if that I get the idea that you can put a tracking code on say a 3rd party blog banner, person clicks and buy product, that gets tracked. But what if customer abandons sale, comes back later directly to site and purchases? I'm guessing this isn't tracked. Is that right? As an aside I've a blogger friend who I'd like to pay for sending traffic that leads to sales. Is this the best way to track? Would the addition of 'How did you hear about us' question during 'Add to cart' process be a back up method? Any downsides to that, other than customer ignoring it? Thanks a lot for looking & any suggestions you may have! Kevin
Affiliate Marketing | | well-its-1-louder0 -
What is the negative effect of getting affiliate links to your domain?
Are the negative effects of affiliate links to your domain bigger than the positive effects? Is it better to use a subdomain for your affiliate campaigns? (Because of linkprofile no follow links or time on page effects?) Thanks for responce!
Affiliate Marketing | | ltom0 -
Can anyone help me find the broadband ISP affiliate program I need?
I have a couple sites that deal with broadband internet access, and I'm looking to monetize beyond adsense. I'd like to sign up for some affiliate programs from internet service providers like Charter, CenturyLink, Comcast, etc. I found a couple affiliate programs but I am having no luck at all figuring out the programs that so many other websites are involved with. In about every case, the user is able to enter in their address and then a search is performed, returning programs available at their location. The programs I've found just do the traditional ad click-throughs for a possible commission. Can anyone enlighten me what kind of programs they are using?
Affiliate Marketing | | bizzer0 -
Limit of links in the same page
Hi, I have some pages that have more than 100 links. They are links to some stores (affiliate links). I set all of them as rel="nofollow" but I think Google is penalizing me because the link quantity. What is a good number of URL in the same page? Thanks
Affiliate Marketing | | GDB0 -
Hiding Affiliate Links
Hello, Currently I'm developing a website that will contain a lot of affiliate links (5000). This is because I'm going to compare the prices of a lot of products. The visitor can go to all websites (my advertisers) that sell these products via affiliate links. My question is how to hide these affiliate links. I've read lots of solutions, like: cloaking, rel=nofollow, using JavaScript, 301 redirects. I would like to know what the best solution is to deal with these affiliate links for SEO. Regards, Martijn
Affiliate Marketing | | MartijnWijbenga290 -
Best Way for Resellers to Use Outbound Links to Software Demos
I have a software reseller site that wants to have ever-present linking buttons to demos of the software they sell--the demos are on their software vendor sites. My concerns relate to SEO and leaking link juice; but, also to constantly providing visitors with the exit door. What are the best practices for such a situation?
Affiliate Marketing | | Court_LOQUA0