searchconsoler-add_sitemap_mechanical
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load packages | |
library(searchConsoleR) | |
library(dplyr) | |
library(ggplot2) | |
# Authorize & choose Google profile | |
scr_auth() | |
# Specify website --- FULL URL | |
website <- "https://sample.com" | |
# Submit all manually found sitemaps | |
add_sitemap("https://www.sample.com","https://www.sample.com/sitemap_index.xml") | |
sys.sleep(1) | |
add_sitemap("https://www.sample.com","https://www.sample.com/page-sitemap.xml") | |
sys.sleep(1) | |
add_sitemap("https://www.sample.com","https://www.sample.com/post-sitemap.xml") | |
sys.sleep(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment