私のサイトマップのURLをhttpに強制するにはどうすればいいですか?Wordpress:強制的に私のサイトマップでhttpにhttpsを入力
.htaccess
で可能ですか? SSLはサイトマップページを含むすべてのURLをhttpsに強制しているためです。ここで
コードです:
<sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.sitemaps.org/schemas/sitemap/0.9
https://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
私はそれを作りたい:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="htts://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">