Skip to content

Submit a URL to IndexNow#

How to Submit Individual URLs#

If one or more of your website pages have changed and you want each page to be reindexed, you can submit individual URLs to the IndexNow API using the submit_url_to_index_now() method:

Python
from index_now import submit_url_to_index_now, IndexNowAuthentication

authentication = IndexNowAuthentication(
    host="example.com",
    api_key="a1b2c3d4",
    api_key_location="https://example.com/a1b2c3d4.txt",
)

submit_url_to_index_now(authentication, "https://example.com/page1")ยจ

submit_url_to_index_now(authentication, "https://example.com/page2")

submit_url_to_index_now(authentication, "https://example.com/page3")