Category : sitemap

I have this problem with my sitemap No: ‘noindex’ detected in ‘X-Robots-Tag’ http header, and I think this is why my sitemap show "Sitemap could not be read" Does anyone has an idea how to solve it. I am using Django this the URL of my sitemap https://www.freeconvert.tk/sitemap.xml #Screenshots https://i.stack.imgur.com/1Z7yF.png https://i.stack.imgur.com/vfs9a.png https://i.stack.imgur.com/GekJU.png #sitemaps.py from convert.models ..

Read more

I’m trying to add sitemaps to my Django website using its builtin framework django-sitemaps. I believe I have set up everything correctly according to the (at times hard to follow) documentation, but now when I try to runserver I get the following error: […snip…] File "E:Programmingmy_projectmy_projecturls.py", line 7, in <module> from sitemaps import StaticViewsSitemap File ..

Read more

follow the description on django official document and standard setup for a sitemap but got the following error: AttributeError at /sitemap.xml/ ‘ArticleSitemap’ object has no attribute ‘get_urls’ there is my urls: from django.contrib.sitemaps.views import sitemap from . import views from .sitemaps import StaticViewSitemap, ArticleSitemap, ArticleCategorySitemap sitemaps = {‘static’: StaticViewSitemap, ‘article’: ArticleSitemap, ‘article-category’: ArticleCategorySitemap} urlpatterns = ..

Read more

I am quite new to Cherrypy and I want to create a site-map and a navigation-bar through accessing all exposed pages in Cherrypy (Pyhton web module). A basic page is set up like this: def index(self): return """ <head><link href="/static/css/style.css" rel="stylesheet"></head> <title>webLogin</title> <body> Hello World! </body> """ % (self.navigation) index.exposed = True With the last ..

Read more

i have a problem with flask-sitemap. i made a small website and i wanted to use flask site-map to generate the sitemap.xml. the sitemap doesn’t include all the templates on the website @app.route("/contact", methods=["GET","POST"]) def contact(): if request.method == "POST": thelist=[] thelist.append(request.form.get("fname")) thelist.append(request.form.get("lname")) name = " ".join(thelist) conn = sqlite3.connect("data.db") con = conn.cursor() con.execute("INSERT INTO ..

Read more