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
-
NoFollow Affiliate links from (very) shady websites will effect rankings?
Should I be worried , and if so what to do, if affiliates are linking from shady / gaming/adult websites? or dost the fact that the links are nofollow solve this issue completely ?
Affiliate Marketing | | KSafer0 -
Affiliate website redirection concern
First of all i want to say hi to everyone here since im a new guy! The issue: My website is a price comparison website. I create products and inside these products i list several shops with their priced offers from the lowest to the highest. When a customer clicks the "shop now" button to go to the desired shop a new window pops up telling the user that he is being redirected to that shop. Check the website here and click "shop now" to understand what i mean: https://www.pccdkeys.com/product/buy-world-of-warcraft-legion-cd-key-for-battlenet/ This pop up page is a custom .php called redirect.php. In order to create a unique url for each shop, we add parameters in every URL like this: /redirect.php?id=5030917189616&merchant=CDKEYS&game=4117. The redirect.php right now is under this setting: custom header 301 without destination URL (which probably is wrong) it is noindex, follow in meta robots the parameters: **id, merchant, game **are set to NO URL's in URL parameters in webmaster tools. If i remove the 301 redirect from the header it will lead to 200 OK but then its a soft 404 error because the page is small and for sure i dont want 8000 of soft 404 errors because google phantom will destroy me. Another setting was: No custom header so it was 200 OK noindex, nofollow (which was for extra protection from the disallow) disallowed in robots.txt Thi setting kept giving soft 404 errors in audits. I also had it with this setting: custom header 301 without destination URL meta robots in index, follow without disallow in robots This setting gave me Not followed errors in google webmaster tools. The question: Which is the proper setting for this php page? Maybe a combination of the above? Thanks in advance and sorry for the long post.
Affiliate Marketing | | dos06590 -
How to prevent affiliates from bringing negative SEO?
Hi there, I'm just about to integrate iDevAffiliate network for one of my sites, however it occurred to me that affiliates may (unfortunately) resort to black hat methods without me becoming aware of it, which could pass negative link juice to my site. Is there any way to use affiliate networks such as iDev without causing this problem? I was thinking of simply using a different URL, but the problem is that 301 redirects won't mitigate the issue. Thanks!
Affiliate Marketing | | freeunlocks0 -
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 -
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 -
Sponsored Links on Amazon, help
So from what I can see CLickrive was discontinued by Amazon, replaced by a9. I have been asked by a client how they can get onto Sponsored Links near the bottom of a search query on an amazon page. Now I can see from the amazon associates site that you can put widgets, display ads, product search links etc but there is no mention of 'Sponsored Links' other than: SPONSORED LINKS Sponsored links are advertisements related to your recent product search query or content on the page. Sponsored links are always clearly labeled. When you click on a sponsored link, we get revenue. Generating additional revenue from sponsored links allows Amazon.com to offer lower prices to you - something we are dedicated to doing in every way we can. There is no mention on how to actually be a sponsored link... I have read on various blogs etc that it is delivered by a third party network... no mention as to whom... thought Google but no mention of this on any information I can find on Google blogs etc. Anyone have an idea? Thank you 🙂
Affiliate Marketing | | ChalkWard0 -
Looking for a nice way to add an amazon affiliate store to my site
We are often asked what our favorite toys, books, resources, etc, are and I want to make a page(s) with our top resources that is a nice clean amazon affiliate store. Are there are good resources anyone knows of to do this? (I'm using a wordpress blog by the way....perhaps there is a plug in?) Thanks.
Affiliate Marketing | | NoahsDad0 -
Track orders from different affiliate platforms.
Hi there, I have an online shop and I want to sell my products trough various affiliate platforms. How can I track from wich platform a sale is made so I don't have to pay all the affiliates? Is there any software on the market? The money is not a problem, I'm not looking only for free options, I'm looking for the best one. Thank you, Romeo.
Affiliate Marketing | | RomeoMadrid0