Adgora
Guides 11 min read 2,111 words

How to Add Adgora ads.txt to a WordPress Site

Learn how to add Adgora ads.txt to a WordPress site, place it at the root, and verify it is live for ad buyers.

Adgora
On this page0%

    How to add Adgora ads.txt to a WordPress site

    How to Add Adgora ads.txt to a WordPress Site

    If you run a publisher site on WordPress, the little text file called ads.txt can save you a lot of confusion later. It is not flashy. It does one job: it tells buyers which sellers are allowed to sell your ad inventory, and that helps keep your site’s ad setup clean when Adgora checks it against your domain.

    Think of it as a public permission list. A crawler can read it, a buyer can inspect it, and your monetization setup can look more trustworthy because the file sits at the root of the domain where it can be found without guesswork. That matters on WordPress because themes, plugins, and uploads can scatter files in different places if you are not careful.

    1. What ads.txt Does for Adgora on WordPress

    An ads.txt file is a plain text file, usually placed at yourdomain.com/ads.txt. It lists authorized digital sellers in a simple format. One line, one seller entry. No design. No scripts. Just text.

    For Adgora, the point is verification. If Adgora or another buyer checks your domain, the file helps confirm that the inventory on your WordPress site is being offered by the right account or seller relationship. That reduces mismatches, which is one reason publishers bother with it at all. A site without the file can still run ads, but the file gives the ecosystem a cleaner signal.

    The file also helps with consistency. If your site has 25 posts or 2,500 posts, the rules do not change. The file still lives at the root, and the browser still reads it as plain text. Simple enough. Yet people still upload it to the wrong folder.

    2. When You Need to Add ads.txt on WordPress

    You need an ads.txt file when Adgora asks for it, when you are launching a new WordPress site that will show ads, or when a site already has monetization but no file at all. If you moved from one host to another, that is another common trigger. Moving a site can break file paths faster than owners expect.

    Another common case is a site that had ads working last month and now shows a missing-file warning. That often happens after a migration, a cache change, or a hosting change. One small change can hide the file from the exact place Adgora expects to check.

    Your goal is narrow: place the file at the root of the domain so it resolves at /ads.txt. Not in /wp-content. Not in a theme folder. Not in an image directory. Root only. If the file sits anywhere else, the crawler may never see it.

    There is a practical reason for that, and it is not theory. WordPress has many folders, but the browser only looks for the root file at one location when someone types the direct URL. That is why the path matters more than the filename itself.

    3. Before You Start: What to Confirm in Adgora and WordPress

    Before you upload anything, confirm that you can log in to WordPress admin. You may not need admin for the upload itself, but you need to know which site is the live site. A staging copy with a different domain will not help.

    Next, check whether you can access hosting tools or a file manager. In many setups, that is the fastest way to handle the file. If you only have the WordPress dashboard, a plugin may help, but the cleaner route is usually through the host.

    Get the exact ads.txt content from Adgora. Do not rewrite the entries from memory. One character off can make the record useless. If the provided line says a seller ID, a relation type, or a domain, copy it exactly as given.

    Then look at your active plugins. A caching plugin can delay visibility. A security plugin can block file changes. A file-management plugin can also create a second copy if it tries to be helpful. Helpful in theory. Annoying in practice.

    4. How to Add Adgora ads.txt to WordPress Step by Step

    There are three practical routes for adding how to add Adgora ads.txt to a WordPress site in the real world: your hosting file manager, FTP or SFTP, or a WordPress plugin that can manage site root files. Pick the one you can control cleanly. The less guesswork, the better.

    1. Open your hosting panel and go to the file manager, or connect with FTP/SFTP using your host’s credentials.
    2. Find the top-level directory for the live domain. On many servers this is the public root, such as public_html or the site root folder.
    3. Create a new file named ads.txt if it does not already exist.
    4. Paste the exact content provided by Adgora into that file.
    5. Save the file and confirm that it is placed at the root of the domain, not inside a WordPress theme or plugin folder.
    6. If you use a plugin, make sure it writes to the live site root and does not hide the file behind a custom path.

    If you are using FTP or SFTP, pay attention to file mode and transfer settings. A text file should upload as plain text, not as a renamed document or a file with hidden extra extensions. That sounds basic. It is. But basic mistakes waste time.

    If you use the hosting file manager, double-check the folder tree before you click save. On WordPress sites, the root is often one level above wp-admin, wp-content, and wp-includes. That is the folder you want. Not the theme folder. Not the uploads folder. Root.

    Some hosts also support a plugin that manages root files. That can be useful if your hosting panel is clumsy or you do not have FTP access, but it still needs the same end result: a plain text file at the domain root. If the plugin stores the file in a subdirectory, it is the wrong placement.

    5. How to Check That ads.txt Is Live on Your WordPress Site

    After upload, open a browser and visit yourdomain.com/ads.txt. The result should be plain text, not a download prompt, not a blank page, and not a WordPress post. You want the file contents visible in the browser. That confirms the file is publicly reachable.

    If the browser shows a 404, the file is either missing or in the wrong place. If it redirects somewhere unexpected, a plugin or server rule may be intercepting the request. If you see the wrong content, another file named ads.txt may already exist elsewhere on the server. One domain, one path.

    Try a private browser window if cached content looks stale. Then clear any site cache, server cache, or CDN cache if your setup uses one. A cached result can make a new file look absent for minutes, sometimes longer. Not ideal, but common.

    You can also compare the live URL against the file you uploaded. If the text in the browser differs from the text you saved, something on the server is rewriting the request. That is where WordPress plugins or host rules become suspects.

    6. Common WordPress Problems When Adding ads.txt

    The most common WordPress mistake is a wrong upload location. People put ads.txt in a theme directory because it is easy to find. Easy is not enough. The file belongs in the site root, and if it is not there, Adgora may not read it.

    Another issue is plugin conflict. A plugin that generates or manages files can create a second version of the file or serve its own copy first. That can leave you staring at the wrong content in the browser while the real root file sits unused. It happens.

    Caching delays are common too. A cache plugin may still serve an older response after you replace the file. Clear the plugin cache, then the host cache, then the browser cache if needed. Three steps, not one. Otherwise you can chase a problem that is already fixed.

    Multisite installs need extra care. In a multisite setup, the domain mapping can point to one WordPress installation while the file is stored under another site’s directory. If the live domain does not map cleanly to the root where you uploaded the file, the browser test may fail even though the file exists.

    Permissions matter as well. If the server blocks file writes, you may save the file locally but never place it on the live site. Ask the host for the correct permission range if uploads keep failing. The issue is often on the server, not in WordPress itself.

    And one small but painful detail: some security plugins watch for unknown root changes. They can quarantine or remove a new file if you did not whitelist it. That is a rough surprise when you refresh the page and the file has vanished. Check the plugin log before uploading again.

    7. Keeping ads.txt Updated for Adgora

    An ads.txt file is not a one-time job. If Adgora updates seller information, the file should be updated too. If your domain changes, the file needs to move with the live domain. If you add another authorized line later, it should be appended carefully, not pasted into the middle of an old record.

    For long-running WordPress sites, set a simple monthly check. Open /ads.txt, confirm the content, and compare it with the current Adgora record. If your team has more than one person touching the site, assign one owner. Two editors can overwrite each other in a minute.

    Use this maintenance list:

    • Check the live URL: yourdomain.com/ads.txt.
    • Confirm the file is at the root, not in a WordPress folder.
    • Compare the content with the current Adgora record.
    • Review caching, security, and file-management plugins after any change.
    • Repeat the check after a host migration or domain change.

    If you want a broader look at publisher setup, the crypto advertising, monetization & Ad-Tech guides page is a good place to keep nearby while you work. It helps when a WordPress site is part of a wider ad stack, not an isolated file change.

    For publishers who mix inventory sources, the same discipline that keeps ads.txt clean also helps when you evaluate CPC vs CPM vs CPA. The file does one job, but the reporting around it tends to affect the whole monetization setup.

    If your site also publishes crypto-focused content, the article on crypto advertising can be useful context while you keep the file current. Different traffic sources, same need for clean publisher records.

    One last point: keep a backup copy of the approved file in your notes or repository. Not in the WordPress media library. Not in a post draft. A plain text backup on your side makes the next update faster, especially after a migration when nobody remembers which folder changed first.

    Terms in this article

    Short definitions from the Adgora glossary.

    CPC
    Cost per click — you pay only when someone clicks. The bid you set is the most you will pay for a click; the auction often clears lower. Best when…
    CPM
    Cost per mille — the price for one thousand impressions, paid whether or not anyone clicks. You are buying attention rather than actions, which sui…
    CPA
    Cost per action — you pay only when a defined action happens: a sale, a signup, a deposit. The lowest-risk model for the buyer and the highest bar…
    Whitelist / blacklist
    An explicit list of the only placements allowed to serve, or of placements barred from serving. A blacklist built from real cost-per-action data is…

    Frequently asked questions

    What does an ads.txt file do for Adgora on a WordPress site?

    An ads.txt file lists the authorized sellers who are allowed to sell your ad inventory. For Adgora, it helps verify that the inventory on your WordPress site is being offered by the right account or seller relationship.

    When do you need to add ads.txt to a WordPress site?

    You need it when Adgora asks for it, when launching a new WordPress site that will show ads, or when a site has monetization but no ads.txt file. It is also commonly needed after a migration, hosting change, or when a missing-file warning appears.

    Where should the ads.txt file be placed on WordPress?

    It should be placed at the root of the domain so it resolves at /ads.txt. It should not be put in wp-content, a theme folder, or an uploads directory.

    How can you add Adgora ads.txt to WordPress?

    You can add it through your hosting file manager, by FTP/SFTP, or with a plugin that manages site root files. In all cases, the goal is the same: create a plain text file named ads.txt at the live domain root with the exact content provided by Adgora.

    How do you check that ads.txt is live and working?

    Open yourdomain.com/ads.txt in a browser and confirm that the file contents appear as plain text. If you see a 404, redirect, or wrong content, the file is likely missing, misplaced, or being intercepted by a plugin or server rule.

    Share this article

    Found it useful? Send it to someone who buys or sells traffic.

    Next step

    Ready to put this into practice?

    Launch a campaign or monetize your traffic on Adgora — crypto payments, real-time stats, no lock-in.

    What this page answers