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
-
Setting up small affiliate network - Do follow?
I have a client that I help with both SEO and marketing. I have thought about approaching 5-10 niche appropriate bloggers to join a custom affiliate network. I'd like to gain both sales and backlinks. I know it's gray, but do you have any advice?
Affiliate Marketing | | julie-getonthemap0 -
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 -
Find My Missing AdWords Conversions! (my white whale)
Hello! I hope someone can help shed some light on this issue for me because I have searched far and wide for answers to no avail. So, without further ado, here goes... The destination URL's in our AdWords ads are affiliate redirects with "Google" as the Affiliate Code. Since our products are according to license, we have different price points for the same item number. We cannot get accurate earnings through AdWords. The affiliate redirect records the Google conversion in our store which gives us the ability to associate a dollar amount with conversions as well as compare the number of conversions against what is stated in the AdWords interface. The problem is that AdWords consistently shows significantly more conversions than our store's affiliate code reflects. For example: AdWords Conversions for March 2013: 31 Store Orders Showing Google Affiliate ID for March 2013: 19 So judging from those numbers it looks like 12 conversions were lost from AdWords reporting to the reporting in our online store. I have checked and double checked that our destination URL's are uniform in their formatting and have the appropriate "Google" affiliate code, so they should be recorded. Does anyone have any insight or experience with this? Is it possible that our affiliate cookie is somehow being dropped as the user is redirected to the landing page via the destination URL? 12 conversions is a pretty significant difference and since those conversions seem to be getting lost on the way to our store, that's revenue that i'm not able to add to determine the true ROI of the effort. Can anyone help?
Affiliate Marketing | | IDASEO0 -
Does having affiliates hurt seo?
one of my clients has a TON of affiliates out there building links back to his site all with the ?ref=AFFILIATENAME tracking string does google understand this and not count these links or is there a way to nofollow all links with this tracking string? just wondering how big companies rank well and still have thousands of affiliates building links on all kinds of properties using all kinds of methods thanks
Affiliate Marketing | | Ezpro90 -
Redirect to Affiliate script via htacces - Is that risky?
Hi, We are offering an affiliate programme to publishers. The problem is that the links to the Affiliate Script are very user-UNfriendly (something like http://scripts.affiliateprogramme....../..../....) I would like to give them a simple url: www.website.com/PublishersPage And then redirect this via HTACCESS to the script link (which would then send them back to us). Would that be a problem for SEO? for Google? Thank you for your help.
Affiliate Marketing | | goodoil0 -
Where to look for relevant links
I and many others are targeting keywords such as "free iphone" or "free ps3" as part of incentive marketing schemes that offer rewards for referring new users to businesses. These often seem too good to be true but actually do work (if you don't get caught up in the spam sites). The thing is, what sort of link building should I be looking at once I have my site showing the users how the opportunity works and that it is a legitimate site. I don't want to have free iphone links placed where people may think I'm scamming them, so should I look at press releases, creating infographics or what? I look forward to hearing some of your ideas...
Affiliate Marketing | | GrassRootsSEO0 -
Link exchange
Folks I just thought to myself that this forum must be filled with lovely SEOs who are busy working on multiple clients.... I'm very new to the industry myself... about a month into it 🙂 Any-hoots I was just wondering if anybody is working in a category that may be suitable for a link exchange with http://bluetea.com.au/ .... Please let me know
Affiliate Marketing | | PHDAustralia680 -
Promoting an Affiliate Scheme
I have to promote an affiliate scheme, and am drawing up a list of techniques that I can use to get people interested and sign up to it. Currently I have: Promoting the scheme in any article promotion. Identifying relevant websites to the scheme, and contacting them directly. Networking in affiliate forums and communities. Promoting on Facebook and Twitter. Possibly producing a video reviewing the scheme and posting it onto YouTube and other video sites. Can anyone think of any other techniques that I could try using? Cheers.
Affiliate Marketing | | speedyseo0