Welcome Guest, Not a member yet? Register   Sign In
Sitemap
#1
Wink 

Greetings To everyone, I'm a new user of CodeIgniter script version 3.1.11
I want to ask, how to submit a sitemap on google consul.

I'm having trouble seeing where my sitemap.xml is

thank you
I am a news blog manager



Reply
#2

I moved your post in a new thread in the relevant category. Please don’t hijack an existing thread if you what to ask something that has nothing to do with the original post. Also, no URL allowed in signature unless it is specifically about CodeIgniter.

As for your question, CI doesn’t generate a sitemap automatically. You will have to code it yourself or install a library if there’s one already. If you are new to CI, I’d highly suggest you learn CI4 instead of the old and outdated version 3.

…and welcome to the forum! Wink
Reply
#3

(This post was last modified: 10-11-2021, 01:02 PM by captain-sensible. Edit Reason: extra )

one approach is get your web live; then go to https://www.xml-sitemaps.com/ that will generate a file called sitemap.xml ; you download it ; then via cpanel or equivalent you upload it to the live public (or equivalent ) directory of your codeigniter app

Then its just a matter of going to google web master and the path to your sitemap should then be: https://yourDomain.com/sitemap.xml

there is a test function on google to confirm it can find it; when it does you then "submit" your sitemap.xml


you can also check yourself by going to https://yourDomain.com/sitemap.xml it should display contents
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply
#4

We take the link to the xml sitemap and copy and paste it into the google search console, there we just paste the link and send it in the sitemap tab
Reply




Theme © iAndrew 2016 - Forum software by © MyBB