• Welcome to Sitemap Generator Forum.
 

Sitemap Generator doesn't work

Started by karol1, August 09, 2019, 10:36:02 PM

Previous topic - Next topic

karol1

Hi, I brought the sitemap generator and the tool doesn't work. the error that appers is:

There was an error while retrieving the URL specified: [ External links are visible to forum administrators only ]
HTTP Code:

HTTP headers:
x_csize: 0

HTTP output:

XML-Sitemaps Support

Probably there is a configuration problem - it looks like your server doesn't allow local network connections via port 80 (http) or 443 (https) - as a result sitemap generator is not able to crawl the site. This is usually related to firewall installed at the host - could you please contact your hosting support regarding this?

karol1

I've had checked with the hosting and the answer is that all the Ports are allowed.

XML-Sitemaps Support

Hello,

you need to make sure that PHP script is allowed to access websites via https. You can check this by using a test script like this:

<?php

$initurl
= 'https://www.yourdomain.com';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $initurl);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$fdata = curl_exec($ch);
curl_close($ch);
print_r($fdata);

Save it as PHP file and open in browser.