Sitemap Generator doesn't work
« on: August 09, 2019, 10:36:02 PM »
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:
Re: Sitemap Generator doesn't work
« Reply #1 on: August 10, 2019, 05:20:29 AM »
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?
Re: Sitemap Generator doesn't work
« Reply #2 on: August 12, 2019, 01:55:02 PM »
I've had checked with the hosting and the answer is that all the Ports are allowed.
Re: Sitemap Generator doesn't work
« Reply #3 on: August 13, 2019, 05:28:15 AM »
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:
Code: [ External links are visible to forum administrators only ]
<?php

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

 
$ch curl_init();
 
curl_setopt($chCURLOPT_URL$initurl);
 
curl_setopt($chCURLOPT_HEADER1);
 
curl_setopt($chCURLOPT_VERBOSE1);
 
curl_setopt($chCURLOPT_SSL_VERIFYPEERFALSE);
 
curl_setopt($chCURLOPT_RETURNTRANSFER1);

 
$fdata curl_exec($ch);
 
curl_close($ch); 
 
print_r($fdata);
Save it as PHP file and open in browser.