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
-
I'm routating keywords to find my website and to get better ranking; I know i want to use the most keywords that are prevelant in my site; iss that the only keywords I want to use for ranking purposes; if not what keywords were do i find them?
I want better page ranking for my website; keywords that work and backlinks;
Affiliate Marketing | | prostene13590 -
Is Affiliate Duplicate Content?
Hi moz fans!
Affiliate Marketing | | KasperK
I'm working on some client sites.
They have a lot of products, which they are selling through their webshop and two affiliate sites.
But I can't stop wondering:
The affilate sites are using the same product descriptions and images - Will Google see that as duplicate content?
And if so.. How can I prevent that? The two affiliate sites are well etablished and huge sites, so I guess they know what they are doing.. Is there some way I can check it? When I do a google search, whit the "My product description text", I'm getting some different results: Sometimes all three sites appear (main site, and affilate) Sometimes it's only the affilates Sometimes it's only the main site. So to make it short:
If i'm using affliate, will Google see it as duplicate content?
How do I check it, and how do I prevent it? Thank you!0 -
Low value link building to sitemap.xml
During some competitive research recently I discovered one of my clients competitors sites had an interesting backlink profile. Looking at the top-pages report in Open Site Explorer the home page was the #1 page (as you'd expect) with 2.5k links from about 500 linking root domains The second page was the sitemap.xml (~1.5k links, 400 linking root domains) and the third was their /feed page (again, ~1.5k links, 350 linking root domains). Links to these two pages aren't something that would happen naturally (particularly the sitemap.xml). There's a whole load of evidence for nasty low quality link building such as over-optimised keyword rich anchor text, comment spam, and even some blog/article based link networks. It's a pretty nasty niche with lots of cut-throat affiliate marketing. My guess here is that someone may have made a mistake using an automated link building too, but I'd be interested in what you might think? Have you seen this before? (Sorry, I can't reveal the domains in question as I'm bound by an NDA.)
Affiliate Marketing | | DougRoberts0 -
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 -
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 -
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 -
Outbound Affiliate Links - Positive or Negative Effect
Hello I would like to increase the value of my value proposition to users by adding complimentor affiliate links and embedded widgets like postcode search to my promote my affiliate's service. I already have a great ranking.... Am I jeopardizing my position by putting outbound links to affiliate sites? Also would a nofollow tag on an affiliate link work? I understand Google is fast changing - so what is the latest advice on this for Spring 2011? Thanks a lot
Affiliate Marketing | | philipjterry0 -
Affiliate network options?
I'm looking, for an affiliate network solution, that can provide not only conversions through affiliate marketing alone, but also as linkbait. What kind of tools do we have available? i remember reading a SEOMoz Blog about the best SEO tools of 2010, and i saw some affiliate options there. Looking to hear SEO community opinions on options like this.
Affiliate Marketing | | Blargh1230