How are you trying to change the name of the sitemap? That is deprecated functionality that we no longer actively support.
I do not try to change name of the sitemap. Sitemap works for permalink is plain. Otherwise do not work. How can I solve?
@atescem I’m not sure what you mean with plain permalink. Can you give me some more details about that?
question is simple
https://artesis.com/sitemap.xml
My site map is 404. I cannot send Google. Why?
@atescem I see that your server uses NGINX, so you’ll need to add these rewrite rules to your configuration – https://aioseo.com/docs/xml-sitemap-rewrite-rules-for-nginx/
No. We do not use NGINX.
Can you send for this code for APACHE? I add ht access.
rewrite ^/video-sitemap.xml$ /index.php?aiosp_video_sitemap_path=root last;
rewrite ^/video-sitemap.xml.gz$ /index.php?aiosp_video_sitemap_path=root last;
rewrite ^/(.+)-video-sitemap.xml$ /index.php?aiosp_video_sitemap_path=$1 last;
rewrite ^/(.+)-video-sitemap.xml.gz$ /index.php?aiosp_video_sitemap_path=$1 last;
rewrite ^/(.+)-video-sitemap(\d+).xml$ /index.php?aiosp_video_sitemap_path=$1&aiosp_sitemap_page=$2 last;
rewrite ^/(.+)-video-sitemap(\d+).xml.gz$ /index.php?aiosp_video_sitemap_path=$1&aiosp_sitemap_page=$2 last;
rewrite ^/sitemap.xml$ /index.php?aiosp_sitemap_path=root last;
rewrite ^/sitemap.xml.gz$ /index.php?aiosp_sitemap_path=root last;
rewrite ^/(.+)-sitemap.xml$ /index.php?aiosp_sitemap_path=$1 last;
rewrite ^/(.+)-sitemap.xml.gz$ /index.php?aiosp_sitemap_path=$1 last;
rewrite ^/(.+)-sitemap(\d+).xml$ /index.php?aiosp_sitemap_path=$1&aiosp_sitemap_page=$2 last;
rewrite ^/(.+)-sitemap(\d+).xml.gz$ /index.php?aiosp_sitemap_path=$1&aiosp_sitemap_page=$2 last;
rewrite ^/sitemap.rss$ /index.php?aiosp_sitemap_path=rss last;
rewrite ^/sitemap.latest.rss$ /index.php?aiosp_sitemap_path=rss_latest last;
@atescem for Apache you don’t need to add rewrite rules; they’re managed inside WordPress. Please contact us here and our support team will take a look – https://aioseo.com/contact/. Click the button “Complete this Form” and reference the URL of this support thread.