How to add ads txt file in wordpress
- George Apostolov
How to add ads txt file in wordpress: step-by-step guide
Log in to your Google AdSense account, navigate to the relevant page, and click on "FIX NOW."
Click "DOWNLOAD."
Select the file and save it for later. You will need to save it on the root domain of your WordPress.
Go to your WordPress dashboard, and select "Plugins."
Search for "file manager" click "Install Now" and select "Activate."
Navigate to the toolbar on the left and select "WP File Manager." Once inside, click the "Add New File" button to proceed.
Select "TXT: Plain text" as the file type and name it "ads.txt" or choose a name that suits your needs.
Look for the file you created, right-click on it, and click "Code Editor."
Paste the code you copied from Google AdSense into the file. Then, click "Save and Close." You’re all set!
Quick answer: To add an ads txt file in WordPress, download the file from your Google AdSense account. Then, install and activate a file manager plugin on your WordPress dashboard, create a new text file named ads.txt in the root domain, paste your AdSense code into the editor, and save the changes.
About this WordPress tutorial
Upload your Google AdSense ads txt file to WordPress easily using a file manager plugin to complete setup. This guide shows how to add ads txt file in wordpress in 9 steps, starting with "Log in to your Google AdSense account, navigate to the relevant page, and click on 'FIX..." and finishing with "Paste the code you copied from Google AdSense into the file. Then, click 'Save and Clos...". The interactive demo above is a click-through copy of the real WordPress interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to add ads txt file in wordpress?
9 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your WordPress data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under WordPress. Related guides: How to Add Alt Tags to Images in Wordpress, How to add amazon affiliate link to wordpress and How to Add an Image Gallery to WordPress in Only Two Steps. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





