New answers tagged

0

Your PHP code will not need to be same as PHP will populate the superglobals you are interested in based on PHP's link to the web server software. The underlying technology should be of minimal consequence to your coding except where the difference is between Linux and Windows as there are some minor differences to file access functions and some PHP ...


1

I simply compressed them using gzip: gzip sitemap1.xml My server nginx is enabled to send compressed files. It looks like you're trying to send a double-compressed file and a compressed file. When you gzip a file and host it on a server that is set up to compress and send files, then you basically compressed the same file twice and when one ...


0

If you try to download your own sitemap files, e.g. example.xml.gz, most web browsers will correctly prompt you to download the compressed sitemap file. However, if your webserver is not sending correct MIME headers for .gz files, some browsers may instead try open the sitemap file. This will fail as the internet browser has not correctly recognized the ...



Top 50 recent answers are included