Sitemap on subdirectory
-
Hi there,
We are trying to get this plugin running on a site that’s in a subdirectory of another site.
However, when we look up the sitemap we just get a blank screen.
We are running on a nginx server with the following location block for our subdirectory (if that info helps):
location /dk/ { try_files $uri $uri/ /dk/index.php?$args; index index.htm index.php; include fastcgi_params; fastcgi_intercept_errors on; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_read_timeout 3600; fastcgi_send_timeout 3600; fastcgi_param HTTPS "on"; fastcgi_param SERVER_PORT 443; fastcgi_pass 127.0.0.1:{{php_fpm_port}}; fastcgi_param PHP_VALUE "{{php_settings}}"; location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf|map)$ { add_header Access-Control-Allow-Origin "*"; expires max; access_log off; }
I guess we need some rewrite to get the sitemap showing?
Looking forward to hearing from you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sitemap on subdirectory’ is closed to new replies.