If youโre looking for how to add ads.txt file in WordPress, hereโs the article youโve been looking to read. The ads.txt file must be updated before a website can be able to serve/display ads.
However, for sites designed with WordPress, it is easy to install a plugin and put the ads.txt file gotten from your ad network. Nevertheless, in some cases, or rather, some ad networks require that you manually install the file via cPanel to your domain root.
When faced with such a situation where you need to open cPanel to update or create a new ads.txt file, this tutorial will be quite handy to follow. Actually, I carefully wrote this article sequentially, and it detailed all the steps to take.
But before we go further, hereโs the meaning of ads.txt.
What is the ads.txt file?
The full meaning of ads.txt is โ Authorized Digital Sellers; it is an initiative from IAB Technology Laboratory that specifies a text file that can be hosted on a web server. Inside the ads.txt file, the ad provider lists the other companies that can sell their services and offers. Ads.txt is mandatory if your website must display ads.
How to add ads.txt using a plugin on WordPress (ads.txt WordPress)
If your website is built with the WP CMS, then you can simply install the โAds.txt Managerโ plugin and paste the text file provided by the ad network you choose.
To install the plugin, follow these steps;
- Go to your WP Admin dashboard
- Hover your mouse or click on โPlugins,โ then click on โAdd New.โ
- Search for โads.txt manager.โ
- Click โinstall.โ
- After installation, click on Activate.
When youโre done activating the plugin on your WP site, you will find a new option embedded into your settings menu. Simply hover your mouse at the โSettingsโ option to reveal its context menu; click on โAds.txt.โ and enter the file.
You can paste as many ads.txt files as you wish. All you need to do it to simply paste them to the provided space and hit the โSaveโ button.
[the_ad id=โ2859โณ]How to add ads.txt to WordPress via cPanel
This may seem a complex task, but itโs definitely effortless and easy to do. How do you add ads.txt files to a WordPress website using cPanel? The process is straightforward; follow the steps below.
- Login to your cPanel/Plesk or the clientโs cPanel/Plesk
- Lookout and click on the โFile Managerโ option
- Then, locate the website files; they are usually saved in the โPublic_htmlโ folder if itโs just your site that is hosted on the shared hosting account. If there is more than one website on the hosting cPanel, look for the website name and click on it.
- The folder name where your website files are saved might be different; contact the site admin to specify the folder with the website contents
- Scroll down, while looking out for the ads.txt file. If you canโt see any ads.txt file; then, create a new one. On the other hand, if you saw an ads.txt file, click on it to modify its contents
- Highlight the ads.txt file and click on the โEditโ button at the top menu, paste the ads.txt file youโve copied from your ad SP, and paste it into the editor.
- Click โSave Changesโ when done.
- Thatโs all; you have modified the ads.txt file on your website
What more?
If you need further assistance as regards this post, kindly drop a comment below, and Iโll help you out. Iโve tried to make this post as explanatory as possible.
Originally posted on December 2, 2019 @ 5:43 am
Thanks for this guidance. Now i have updated my ads.txt file using your website guidance.
It feels good to know that my tutorial helped you out.
Have a nice day