---
title: Managing ads.txt in WordPress
url: "https://pressable.com/knowledgebase/managing-ads-txt-wordpress/"
published: 2020-02-22
modified: 2025-09-11
author: Wayne McWilliams
---

An `ads.txt` file helps ensure that your ads are only sold through sellers (e.g. AdSense) who you’ve authorized. This file belongs in the root of the server and should be accessible at `yourwebsite.com/ads.txt`. Once you have this file prepared there are a couple of options to add it to the server:

## Option 1: SFTP

A quick and simple way to add the file to the server is to upload it via SFTP. We have a guide on how to connect to the server here: <https://pressable.com/knowledgebase/setup-and-use-sftp-to-connect-to-your-wordpress-site/>

The file should be uploaded to the server root, in the same location as the `wp-content` folder and `wp-config.php` file. Once uploaded, it will look similar to this:

![](https://i0.wp.com/pressable.com/wp-content/uploads/2020/02/Screen-Shot-2020-02-21-at-5.35.37-PM.png?ssl=1)## Option 2: Use a Plugin

If you are not comfortable with SFTP and prefer to manage your `ads.txt` file from within your WordPress dashboard, there are plugins to allow for that. One such plugin is [Ads.txt Manager](https://wordpress.org/plugins/ads-txt/). Once installed, you can navigate to “Settings → Ads.txt” to paste in the content for your file.

![](https://i0.wp.com/pressable.com/wp-content/uploads/2020/02/Screen-Shot-2020-02-21-at-5.24.40-PM.png?ssl=1)

Press “Save Changes”, and you’re done! You should now be able to view your file at `yourwebsite.com/ads.txt`
