Sitemap generator
Author: Adrian B.
Visited 560,
Followers 3,
Shared 0
Where does the built-in X5 pro sitemap generator get its TLD info from?
Sitemap shows:
<loc>https://www.siliconetechnologies.com/index.html
etc.....
but step 5 Website Address (URL): is set to "https://siliconetechnologies.com"
Shouldnt the sitemap generator drop the "www".?
It should look like this??:
<loc>https://siliconetechnologies.com/index.html
etc....
Posted on the
Hello. A company employee can answer this question for you.
But I noticed that your site is available at four addresses:
http://siliconetechnologies.com/
https://siliconetechnologies.com/
http://www.siliconetechnologies.com/
https://www.siliconetechnologies.com/
I recommend that you set up a redirect to the desired version, for example to https://siliconetechnologies.com/ Redirect from HTTP to HTTPS and Redirect from WWW to non-WWW. More information can be found here https://www.namecheap.com/support/knowledgebase/article.aspx/9410/29/how-to-set-up-rules-and-redirects-in-htaccess/
It will look like this:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule .* https://siliconetechnologies.com%{REQUEST_URI} [R,L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Also note that your site's home page is accessible with or without "/index.html". For example:
https://siliconetechnologies.com/index.html
https://siliconetechnologies.com/
Try adding this to your ".htaccess" file:
Redirect 301 /index.html https://siliconetechnologies.com/
Or consult with your hosting's technical support.
It seems you have problems:
Hi Adrian,
please let me check this out for you, I will get back as soon as possible.
Thanks! Kind regards.
Hi Adrian,
the sitemap takes on the domain you report on Step 5, did you find any discrepancies? What have you set on Step 5 please?
Thanks! Kind regards.