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
-
Blocking external links in Robots.txt - need advice on Best Practice
I look after an affiliate site that is doing quite well in the search rankings. We've been doing a review of our practices and one thing that has cropped up is our robots.txt. In it, we disallow Google from crawling external links. This used to be best practice in the affiliate industry a couple of years ago, but I wanted to know if this is still the case, and what the implications are if we were to: a/ leave it as is? b/ allow crawling? Thanks in advance.
Affiliate Marketing | | Ben_Malkin_Develo0 -
Affiliate marketing dead?
I have created a network of travel websites that I have decided to promote little by little.. Also so they getdomain age and google trust.... but now when you search for all my main keyphrases... you either have wikitravel,lonelyplanet,frommers and other big brand. I guess that Google gave them better value as to get trusted travel information... However, it seems it will be very difficult to rank my sites. I could do long tail keyphrases but again might not be worth it... I used to work as a SEO consultant for other travel sites selling products... they still rank pretty well as they are sites of value selling something.. of course threy compete with other sites but we are in the same level. How can you compete with loneyplanet with your affiliate site because I am not selling anything on my sites. I am pretty much desperate. I designed a network of 30 sites... all good content with good SEO on the page... of course, I will be honest. I might have to change the content to make it better... you can check one of my site here; www.simplyparis.org it is worth it or better stop this project and focus on 1 product oriented website ? Is anyone working as an affiliate marketer with experience after google panda and pinguin ? is affiliate marketing dead in 2013 now?
Affiliate Marketing | | sandyallain0 -
Affiliate URLs Indexed in Google
We have an active in-house affiliate program which has a create-a-link function where affiliate, as in most affiliate programs, can build links back to our content to produce sales. The problem that I am seeing is that some of the affiliate URL versions are being indexed in Google rather than the original page. For instance.. http://www.ourdomain.com/page_start.aspx?affnum=F025212&Start_Page=RaceCar&referrer=createlink is outranking... http://www.ourdomain.com/racecar This presents 2 issues for us. First, this presents duplicate content issues obviously. Second, we pay our affiliates a portion of the sales so, in order to maximize profitability, we'd like the indexed pages to be the original version. What's the best way to handle this? I want to make sure that affiliates continue to get credit for links from their sites but search engine links should go to the original versions.
Affiliate Marketing | | ATIseo0 -
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 -
SEO and Affiliate Links
Hello, We run a travel related website and we started to run our own affilate newtwork to promote the sales of our products. At the moment the affilate links pont to a spacific affilate url in order to tack conversions : abcweb.com/affiliate/nameqaz I'm wondering how is the best way to run a private affilate programm considering SEO: Is there a way yo benefit from those links ? What are the best strategies to do this? If yes, Is there any benefit from redirecting 301 those links to the original page (the one accesible to google and the one we want to rank for) or is it better to use a king of canonical method. Thanks a lot for sharing you experiences , giving your opinion and indicate resources. Best Regards Daria
Affiliate Marketing | | stereo690 -
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 -
Affiliate program in the education niche
Just curious if anyone knew of some good ones out there. Looking to try a couple out. Thanks!
Affiliate Marketing | | astahl110 -
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