• Threads
  • Categories
  • Users
  • GitHub
  • Documentation
  • Discord
  • forum
  • group
  • search
  • chevron_right Threads
  • label Dev Development

Adding ads txt

ikipkip
Dec. 11, 2021
chat_bubble_outline 4
  • check_circle
  • link
    ikipkip
    Members 12 posts
    Dec. 11, 2021, 10:25 p.m. Dec. 11, 2021, 10:25 p.m.
    link

    Hey, guys it's me again. So i have AdSense account which is approved, and they want me to add the ads.txt in the root of the site folder. That site I set up misago on it, if anyone have an idea how I can achieve that. Kindly help out.

    regards

  • link
    rafalp
    Project Lead 1551 posts
    Dec. 12, 2021, 11:49 p.m. Dec. 12, 2021, 11:49 p.m.
    link

    You can create a plugin that would handle the /ads.txt file. I'll try to write an instruction how this week.

  • link
    ikipkip
    Members 12 posts
    Dec. 13, 2021, 12:14 a.m. Dec. 13, 2021, 12:14 a.m.
    link
    @rafalp has written:

    You can create a plugin that would handle the /ads.txt file. I'll try to write an instruction how this week.

    Okay. Thank you..right now am not that of an expert in python, i think i'll wait for the instruction.

  • link
    rafalp
    Project Lead 1551 posts
    Dec. 18, 2021, 11:45 p.m. Dec. 18, 2021, 11:45 p.m.
    link
    check_box

    Marked as best answer by Dec. 20, 2021, 10:04 p.m..

    Assuming you are using misago-docker, download attached plugin and edit it's ads.txt file to contain whatever google tells you to put in that file. The upload adsense_ads and plugins.txt files to your server, to same localization that manage.py is located in (misago_docker/misago). Finally run ./appctl restart to restart misago. /ads.txt should now work.

    insert_drive_file
    adsense-plugin.zip

    ZIP, 1.5 KB, uploaded by rafalp on Dec. 18, 2021.

  • link
    ikipkip
    Members 12 posts
    Dec. 20, 2021, 10:04 p.m. Dec. 20, 2021, 10:04 p.m.
    link
    @rafalp has written:

    Assuming you are using misago-docker, download attached plugin and edit it's ads.txt file to contain whatever google tells you to put in that file. The upload adsense_ads and plugins.txt files to your server, to same localization that manage.py is located in (misago_docker/misago). Finally run ./appctl restart to restart misago. /ads.txt should now work.

    Thanks so much @rafalp

There are no more posts in this thread.

  • This site uses cookies to gather statistical data for use in traffic analysis. Header photo by Joanna Malinowska.
  • GitHub
  • Documentation
  • Discord
  • Terms of service
  • Privacy policy
powered by misago