Post by stefg » Mon Nov 23, 2020 1:24 pm

Hi,

I am trying to submit my sitemap in Google Search Console using the URL provided in Extensions > Feeds > Google Sitemap with no success. The result (status) I get from Google is "Couldn't fetch".
My OpenCart version is 3.0.3.1
What am I doing wrong?

Thank you in advance!
Last edited by stefg on Wed Nov 25, 2020 12:22 am, edited 1 time in total.

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by paulfeakins » Mon Nov 23, 2020 5:50 pm

Does the sitemap take a long time to load? Sometimes it needs to be cached.

This free extension should do it: https://www.opencart.com/index.php?rout ... n_id=39568

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by stefg » Mon Nov 23, 2020 6:01 pm

paulfeakins wrote:
Mon Nov 23, 2020 5:50 pm
Does the sitemap take a long time to load? Sometimes it needs to be cached.

This free extension should do it: https://www.opencart.com/index.php?rout ... n_id=39568
It loads very fast when I paste the feed URL in a browser.

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by paulfeakins » Tue Nov 24, 2020 6:51 pm

stefg wrote:
Mon Nov 23, 2020 6:01 pm
It loads very fast when I paste the feed URL in a browser.
What is the URL?

And is there any more info from Google on the problem if you click the couldn't fetch message?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by khnaz35 » Tue Nov 24, 2020 10:34 pm

paulfeakins wrote:
Tue Nov 24, 2020 6:51 pm
stefg wrote:
Mon Nov 23, 2020 6:01 pm
It loads very fast when I paste the feed URL in a browser.
What is the URL?

And is there any more info from Google on the problem if you click the couldn't fetch message?
If am not mistaken new google search console doesn't accept the url from extension. The sitemap must be ending with .xml and it would accept.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by stefg » Tue Nov 24, 2020 11:58 pm

Indeed Google cannot read the feed.
I used the extension suggested above by paulfeakins to generate a sitemap.xml file and uploaded it. This solved the issue.
Thanks for the support!

New member

Posts

Joined
Fri Oct 18, 2019 7:25 pm
Location - Usa

Post by khnaz35 » Wed Nov 25, 2020 12:18 am

Kindly add the word [SOLVED] in beginning of your post title.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by SyedAliJaffary » Fri Jul 16, 2021 8:51 pm

Use this one "sitemap.xml" after enabling the sitemap from opencart extension. like this "https://oraprints.com/sitemap.xml"
the sitemap will be added to the search console successfully.

I am a professional writer and a Digital Marketer. Demonstrated to writes for the blog, SEO companies, Digital Marketing Companies, and individuals to meet client needs. I love to write on different topics, and also shares personal life experience throughout my articles.



Posts

Joined
Fri Jul 16, 2021 2:53 pm

Post by bizjaved » Fri Jul 07, 2023 11:46 am

khnaz35 wrote:
Wed Nov 25, 2020 12:18 am
Kindly add the word [SOLVED] in beginning of your post title.
You gave the best answer in this post. I saved the sitemap generated by plugin as sitemap.xml, and then submitted to Google Search Console -> Sitemap. And it worked.

Newbie

Posts

Joined
Sun Feb 18, 2018 5:00 pm

Post by khnaz35 » Fri Jul 07, 2023 12:24 pm

bizjaved wrote:
Fri Jul 07, 2023 11:46 am
khnaz35 wrote:
Wed Nov 25, 2020 12:18 am
Kindly add the word [SOLVED] in beginning of your post title.
You gave the best answer in this post. I saved the sitemap generated by plugin as sitemap.xml, and then submitted to Google Search Console -> Sitemap. And it worked.
Glad could help!

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by paulfeakins » Fri Jul 07, 2023 5:02 pm

bizjaved wrote:
Fri Jul 07, 2023 11:46 am
khnaz35 wrote:
Wed Nov 25, 2020 12:18 am
Kindly add the word [SOLVED] in beginning of your post title.
You gave the best answer in this post. I saved the sitemap generated by plugin as sitemap.xml, and then submitted to Google Search Console -> Sitemap. And it worked.
You should make a cron to do this nightly, it would be something like:

Code: Select all

wget -O {full file path to your web root}sitemap.xml {URL of your OpenCart sitemap}

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by haydent » Fri Jul 07, 2023 6:37 pm

or

Code: Select all

curl https://domain.com.au/index.php?route=extension/feed/google_sitemap > /home/user/public_html/sitemap.xml
Last edited by haydent on Fri Jul 07, 2023 7:14 pm, edited 1 time in total.

User avatar
Active Member

Posts

Joined
Wed Nov 09, 2011 9:50 am
Location - Sydney, Australia

Post by paulfeakins » Fri Jul 07, 2023 7:10 pm

haydent wrote:
Fri Jul 07, 2023 6:37 pm
or

Code: Select all

curl https://domain.com.au/index.php?route=extension/feed/google_sitemap > /public_html/sitemap.xml
Yep very nice.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Jaap » Wed Jul 31, 2024 3:20 am

This free extension should do it: https://www.opencart.com/index.php?rout ... n_id=39568
Does it work with 3.0.3.9?

User avatar
Active Member

Posts

Joined
Fri Apr 15, 2011 12:10 am
Location - the Netherlands

Post by paulfeakins » Wed Jul 31, 2024 4:11 pm

Jaap wrote:
Wed Jul 31, 2024 3:20 am
This free extension should do it: https://www.opencart.com/index.php?rout ... n_id=39568
Does it work with 3.0.3.9?
Well, that isn't listed on the page so your options are to try it and find out or to ask the extension developer.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Jaap » Wed Jul 31, 2024 6:16 pm

Thanks Paul, will do.

User avatar
Active Member

Posts

Joined
Fri Apr 15, 2011 12:10 am
Location - the Netherlands

Post by Ahmed-E-Shop » Thu Feb 06, 2025 4:02 am

haydent wrote:
Fri Jul 07, 2023 6:37 pm
or

Code: Select all

curl https://domain.com.au/index.php?route=extension/feed/google_sitemap > /home/user/public_html/sitemap.xml
I would Like to generate sitemap.xml ( OC 3.0.4.0 )
Can you help me ?
Where can I add or execute this code to create the file ?
Thanks

New member

Posts

Joined
Mon Nov 11, 2024 7:40 pm

Post by nonnedelectari » Thu Feb 06, 2025 9:22 am

Ahmed-E-Shop wrote:
Thu Feb 06, 2025 4:02 am
haydent wrote:
Fri Jul 07, 2023 6:37 pm
or

Code: Select all

curl https://domain.com.au/index.php?route=extension/feed/google_sitemap > /home/user/public_html/sitemap.xml
I would Like to generate sitemap.xml ( OC 3.0.4.0 )
Can you help me ?
Where can I add or execute this code to create the file ?
Thanks
You do not need to create a sitemap.xml file, that is what this, in htaccess, is for:

Code: Select all

RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
just submit the sitemap as /sitemap.xml and that htaccess line will translate it to the extension and send out the generated sitemap.
If the generation is too slow, you could always cache the output.

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by paulfeakins » Thu Feb 06, 2025 5:11 pm

nonnedelectari wrote:
Thu Feb 06, 2025 9:22 am
If the generation is too slow, you could always cache the output.
I think you've not really understood most of the comments above.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Ahmed-E-Shop » Thu Feb 06, 2025 9:15 pm

nonnedelectari wrote:
Thu Feb 06, 2025 9:22 am
Ahmed-E-Shop wrote:
Thu Feb 06, 2025 4:02 am
haydent wrote:
Fri Jul 07, 2023 6:37 pm
or

Code: Select all

curl https://domain.com.au/index.php?route=extension/feed/google_sitemap > /home/user/public_html/sitemap.xml
I would Like to generate sitemap.xml ( OC 3.0.4.0 )
Can you help me ?
Where can I add or execute this code to create the file ?
Thanks
You do not need to create a sitemap.xml file, that is what this, in htaccess, is for:

Code: Select all

RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
just submit the sitemap as /sitemap.xml and that htaccess line will translate it to the extension and send out the generated sitemap.
If the generation is too slow, you could always cache the output.
Yes, it is clear to me that the problem is not in creating the file itself. According to my understanding from the colleagues' words, it is finding a way to create the file smoothly to speed up the archiving process.

So let me clarify : Can this line :

Code: Select all

 RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] 
be replaced with this line :

Code: Select all

 curl https://domain.com.au/index.php?route=extension/feed/google_sitemap  > /home/user/public_html/sitemap.xml 
in the .htaccess file ?

In considration this is ( /home/user ) a { Rootname }

Is this a practical result of the serious discussions that took place here ? ( Expert may tell us )

New member

Posts

Joined
Mon Nov 11, 2024 7:40 pm
Who is online

Users browsing this forum: No registered users and 15 guests