Post by marc@63400 » Mon Oct 17, 2022 8:23 pm

here is a link to my site
http://www.amenagement-public.fr/index. ... on/sitemap
on my home address is not good;
I have a link like "http://www.amenagement-public.fr/sitemap" and suddenly I have an error...
how to correct that ?
thank you to you and I am in Version 3.0.3.6
Last edited by marc@63400 on Mon Oct 17, 2022 10:14 pm, edited 1 time in total.

New member

Posts

Joined
Wed Jun 30, 2021 12:24 am

Post by by mona » Mon Oct 17, 2022 8:51 pm

Please search the forum for SEO urls
You need to turn on SEO urls in admin => system => settings under the SERVER tab
You also need to edit the htaccess (as htaccess is related to your SERVER)
This has been answered numerous times on the forum

It is also explained in the official documentation http://docs.opencart.com/en-gb/administration/seo/
THIS PART

Code: Select all

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
but it will depend on how your site is set up - for example if your site is set up in a subfolder

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by marc@63400 » Mon Oct 17, 2022 10:10 pm

if I deactivate the seo parameters in the server I find my correct address...
I have my .htacess correct but I still have this error....
I'm going to be crazy !!!!!

New member

Posts

Joined
Wed Jun 30, 2021 12:24 am

Post by by mona » Mon Oct 17, 2022 10:46 pm

Have you checked the SEO name you have used is correct?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by marc@63400 » Mon Oct 17, 2022 11:10 pm

I don't understand!!!
I only have a problem with my sitemap otherwise everything else works

New member

Posts

Joined
Wed Jun 30, 2021 12:24 am

Post by by mona » Tue Oct 18, 2022 12:15 am

Opencart default does not create SEO pages for all pages
Please read http://docs.opencart.com/en-gb/administration/seo/
OpenCart allows the use of search engine optimized URLs for product, category, manufacturer and information pages

Maybe your issue is that you require an SEO module or you need to contact the developer of the one you have ?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Tue Oct 18, 2022 6:13 pm

marc@63400 wrote:
Mon Oct 17, 2022 8:23 pm
I have a link like "http://www.amenagement-public.fr/sitemap" and suddenly I have an error...
how to correct that ?
The correct link should be https://www.amenagement-public.fr/sitemap.xml and it works.

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


User avatar
Legendary Member
Online

Posts

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

Post by by mona » Tue Oct 18, 2022 10:02 pm

That would be the xml sitemap which is not the same as the Opencart sitemap which should be
www.amenagement-public.fr/index.php?rou ... on/sitemap
or www.amenagement-public.fr/sitemap

the one you are suggesting www.amenagement-public.fr/sitemap.xml is for search engines not for end users

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Wed Oct 19, 2022 10:22 pm

by mona wrote:
Tue Oct 18, 2022 10:02 pm
the one you are suggesting www.amenagement-public.fr/sitemap.xml is for search engines not for end users
I'm not sure which the OP wants?

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


User avatar
Legendary Member
Online

Posts

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

Post by by mona » Wed Oct 19, 2022 11:49 pm

I believe the OP is not an English speaker and it was not particularly clear, but because of this ..
marc@63400 wrote:
Mon Oct 17, 2022 8:23 pm
../index.php?route=information/sitemap
Moreover, being both named sitemap, it would be confusing to OPS - I added an explanation

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 11 guests