Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
Sitemap error in search console
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sitemap error in search console (Read 4733 times)
Nuts
Newbie
Posts: 35
Sitemap error in search console
«
on:
October 05, 2016, 15:41:50 »
I keep seeing this error in google search console: Your Sitemap or Sitemap index file doesn't properly declare the namespace. Expected:
http://www.w3.org/1999/xhtml
Found:
http://www.w3.org/TR/xhtml11/xhtml11_schema.html
, Parent tag: url, Tag: link...
How do I fix this error ? Thanking in advance for any advice.
Logged
datahell
Elxis Team
Hero Member
Posts: 10353
Re: Sitemap error in search console
«
Reply #1 on:
October 08, 2016, 16:57:18 »
Do the following and tell me if the problem is solved:
open this file:
components/com_sitemap/controllers/base.php
go to line 45:
$this->alternate = true;
and comment it:
//$this->alternate = true;
Delete any cached sitemaps (repositoy/cache/) and re-check it.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
Sitemap error in search console