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
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
-
Issues with centrally hosting your own affiliate links?
Can anyone see any issues centralising affiliate links across a network? Example - many of us would use some kind of redirect from our sites like abc.com/go/afflink1
Affiliate Marketing | | RaceMedia
bcd.com/go/afflink1 using either htaccess, php or javascript to redirect to the affiliate site But as your network of site grows - to change a link involves visiting 40 sites to change each of the files in the "go" folders. Would there be any net effect from using an otherwise vacant domain to host the links - so they only need to be changed in one place? Example
abc/go/afflink1 links to afflinks.com/1 which then redirects to affiliate site
bcd/go/afflink1 links to afflinks.com/1 which then redirects to affiliate site So all your links across the network for afflink1 would point to your afflinks.com/1 Any changes only require changes to one file afflinks.com/1 Assuming there is nothing else on afflinks.com - would there be any issues? Assume all links no followed and afflinks.com noindex. AND.... our redirects have been in place for some years using javascript,php or .htaccess. What is the current best practice for redirecting affiliate links?0 -
Tweeting affiliate links...?
I work in the music business & am published music producer. I'm an authority in my niche. Yada yada. I have a website that sells products to other music producers. I recently set up an affiliate partnership with someone who is also in the music business but on the management side. She is not an authority to my customers as far as music making goes. But she does have a huge following of people who are EXACTLY who I am targeting. She has been tweeting my affiliate links. The traffic has been great, but the purchase response has not been. I've had much better responses from reviewers and other music producers who have tweeted my links. I was just wondering if anyone had any tips for the most effective ways of tweeting affiliate links? Thanks!
Affiliate Marketing | | PedroAndJobu0 -
Amazon Links destroyed my rankings, I removed them, will my site recover?
Hello, Last week I got the glorious idea to put amazon affiliate links on my website. I didn't put a rel=nofollow on them or deindex the pages they were on. Precisely I put some reviews and 10 different amazon links on one page and I put that into my navigation so all inner pages were linking to that page. When Google crawled my page again, I had a 60% traffic drop. 3 days later when I found out what caused this (amazon links) I completely removed the site containing those links and removed all links to that page from my site. Now my rankings are still down, will my site recover from this or is it lost? And how long would you think it'll take?
Affiliate Marketing | | SeeSharp10 -
Does Google look at Domain Registrar owner information when counting links into a site?
Question: If the domain registrar owner info is the same on two websites, will Google/other search engines discredit any linking between the two sites when calculating page rank? We have two company sites. One is our main ecommerce domain which we have been linking into from information domains in the past. We recently cut ties with the company that hosted them for us and wish to host them ourselves to preserve the inbound traffic. We are worried, however, that the traffic will be discredited now that we own both domains. Thanks for looking!
Affiliate Marketing | | tennisexpress0 -
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 -
How much SEO benefit am I getting from 'affiliate' links?
Hi all, We run lots of different campaigns with affiliates and as such they have links on their websites pointing back to ours. I was keen to know how much 'link-juice' these kinds of links are passing back to our websites or how much SEO benefit we are getting from them. The links have "?=affiliate" in them. Any thoughts would be greatly appreciated!! Many thanks! Rob
Affiliate Marketing | | RobertHill0 -
Two Tier Internet, Bad Blogs and One page Affiliate Sites
Hi, I start a post on a popular internet marketing forum about how bad blogs - (i.e. the ones with one posts of over optimise spun garbage) - and the one page affiliate sites - trying to sell you something... (you know the ones) - were REALLY starting to annoy me and if/when something would be done by ISP's or Anyone really. Obviously google is aware of the issue with trying to push Google Plus to crowd source better search results. But with more and more sites popping up telling people how they can make money from having a niche website/page with adwords on it aren't we fast moving to a two tier internet.... How websites/pages exist purely to game search engines.... and will they ever disappear.... Sorry mini rant..... might even get some ideas for a blog post 😛 (not on a bad blog before anyone says anything)
Affiliate Marketing | | JohnW-UK0