Problem with Google Adsense working on subdirectory
-
Hello,
I have a main website, as well as an add-on site that has a separate WordPress installation.
I was able to successfully install Google Adsense to my main domain, however, with my subdirectory that is separately installed it keeps saying “The ads.txt file cannot be placed because the URL contains a subdirectory. You need to make the file available at (my main domain url)”.
I did 2 things to try to fix this problem:
1. I added the code “subdomain=theharunafamily.com/home” to the ads.txt file.
2. I opened up FTP and added the ads.txt file into the root directory (the public_html folder).I have no idea whether these steps were helpful or not, but I am still getting the error message.
I would really appreciate any ideas on how to fix this!! (:
Thank you so much,
– HannahThe page I need help with: [log in to see the link]
The topic ‘Problem with Google Adsense working on subdirectory’ is closed to new replies.