You might have searched for "How to add Ads.txt file in your WordPress" blog, many of the people shared a method in which you need to install a plugin called Ads.txt Manager.
But as you install too many plugins may slow down the speed of your website, which will result in a fall in your website traffic as well as search engine rankings.
So, what you can do instead of installing a plugin for the ads.txt file?
The simple and best way is to upload the Ads.txt file manually in your file manager section of your cPanel.
Let's make it simple to understand by doing it step by step, well you can start the process just now by following up on these below-mentioned steps.
So, let's get started!
How to Add Ads.txt File in WordPress Without a plugin?
First, you need your Ads.txt file with you, so firstly download and save it to your device,
Second, log in to your cPanel account, and locate the File Manager option, if you are not able to find it then just type file manager in the above search bar of your cPanel,
Third, after you open your file manager folder, you will see a different list of folders on the left side of your screen,
Fourth, locate the public_html folder in the list and open it, after you open it there will be a lot of files in that particular folder, do not alter or delete any of those files just leave them as they are, or else if you alter or delete any of them it may stop your website's or blog's operation,
Fifth, just in that public_html folder you need to upload your Ads.txt file.
That's It! You don't need to do anything else everything is done!
Just to make sure that your file is working or not, you need to type the URL of your blog, and just after it, type /ads.txt, you can see an example below.
For example-
https:/YOURDOMAIN.COM/ads.txt
After you type the URL your Ads.txt file will appear in that window, just make sure your details are perfectly entered and all the details are yours.
If everything is fine, then congratulations you have added your Ads.txt file without a plugin on your site.
Now let's see
How to Add Ads.txt file in WordPress with Plugin?
Well, this method is also very easy to perform, just follow my instructions,
First, you need to Install and Activate a plugin "Ads.txt Manager" on your WordPress,
Second, after you activate it, you will be able to see a new tab in the settings section of your WordPress site with the name "Ads.txt" as you can see in the below image.
Just click on that "Ads.txt" tab and you need to type or paste your ads.txt details in that blank area, and after it just hit the Save Changes button to save all your edits.
That's It! You don't need to do anything else everything is done!
Just to make sure that your file is working or not, you need to type the URL of your blog, and just after it, type /ads.txt, you can see an example below.
For example-
https:/YOURDOMAIN.COM/ads.txt
After you type the URL your Ads.txt file will appear in that window, just make sure your details are perfectly entered and all the details are yours.
If everything is fine, then congratulations you have added your Ads.txt file without a plugin on your site.
How to add an Ads.txt file in Blogger?
In blogger, it's easy to upload Ads.txt file, just follow my below-mentioned steps-
First, copy the ads.txt file code,
Second, open your blogger dashboard and go to the settings tab,
Third, in the settings tab, you will need to find the Monetization section, you can locate it scrolling down the bottom of your screen,
Fourth, it may be marked as disabled, so first enable it, after you enable it you will be able to edit the "custom ads.txt" section then just click on it,
Fifth, after clicking on "custom ads.txt", a pop-up will open with an empty text area, just paste those ads.txt file codes, that you had copied in the first step.
Sixth, after that just hit the Save button.
That's It congrats you have successfully added the Ads.txt file in your Blogger.
So, I hope you understand each and every step easier, and if you still have any doubts regarding it you can simply ask in the comment section below, I will try my best to answer your questions as soon as possible.
إرسال تعليق