Website not loading properly
Auteur : Andrew H.
Visité 1793,
Followers 1,
Partagé 0
Good afternoon,
My website has been up and running smoothly for years but since I have recently updated Ive noticed when i open my website online in a browser it says it cant 'This cant cant be reached' this page isnt working then after a second it will open. In some browsers it just wont open!!!
After going into google search console its telling me it cant fetch my sitemap??? In website x5 I have included my sitemap and its online but says at the top
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Is that normal??
Either way I have a problem with the site so much so Im not getting indexed in google with my top keywords.
https://www.partycasinos.co.uk/
Please help!!
Andrew
Posté le
Auteur
Actaully I think my website may not even be online
URL is not available to Google
DiscoveryNot checked in live testsCrawlTimeDec 15, 2019, 3:18:40 PMCrawled asGooglebot smartphoneCrawl allowed?YesPage fetchFailed: Redirect errorIndexing allowed?N/AIndexingUser-declared canonicalN/AGoogle-selected canonicalOnly determined after indexing
please advise
Hello Andrew,
Your site is live and online, but you have a section of code...
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-64557371-1', 'auto');
ga('send', 'pageview');
</script>
<meta name="msvalidate.01" content="2FAE4EB7076C5DD81E5CB59492692D02" />
...which has been manually added, and it is in the wrong place. You should move it either inside the HEAD or BODY of the webpage.
However, you also have additional Google Analytics code before closing the BODY tag on your page:
<script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-29282571-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
</script>
Notice that the IDs are different:
UA-64557371-1
UA-29282571-1
You will be able to verify in Google Analytics dashboard what the correct code for your project should be, and where Google recommend that it should be added to your page.
Your sitemap (https://www.partycasinos.co.uk/sitemap.xml) is present and correct, and the message (This XML file does not appear to have any style information associated with it. The document tree is shown below.) is quite normal and nothing to worry about.
Kind regards,
Paul
Search the WebSite X5 Help Center
Auteur
why has this happend now, and what will the code do?
if you dont mind explaining!
Andrew
Unfortunately I don't know, Andrew. It's not a fault of the software. The code at the start of the page has been manually added, probably in Step 1 Settings > Advanced > Statistics, SEO and Code. You must have placed it there at some point by mistake. However, it can easily be moved or deleted entirely.
This is really a Google Analytics matter (https://analytics.google.com/analytics/web/). If you follow the official advice from Google with regards to where the code should be added, then we can help you put it in the right place within your WebSite X5 project.
But each user's project is different, and the Tracking IDs are unique and private to your own projects.
Auteur
Ok thanks guys, If i copy the above code and put it in the 'After opening HEAD tag'
I should be ok???
Thanks
If that's what Google says you should do, then yes.
Auteur
Thanks for all the help guys!
Auteur
Soory guys,
Dont want to pester you but should this be here in
include the robot text file:
User-agent: *
Disallow: /admin
Disallow: /captcha
Disallow: /menu
Disallow: /imemail
Yes, those are the default entries for the robots.txt file in a WebSite X5 project.