T
T
tyoma_koder2022-01-04 16:13:52
htaccess
tyoma_koder, 2022-01-04 16:13:52

how to change url html sitemap opencart 3?

current url is
/index.php?route=information/sitemap
and should be /sitemap

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Arsentiev, 2022-01-05
@moytop

through index.php there is a link to the called module, for example, information/sitemap
so that the url is normal in htaccess rules are written:
try adding one more line after
RewriteBase /
:
RewriteRule ^sitemap$ index.php?route=information/sitemap [L]
in as a result, the sitemap should open at your-site/sitemap

V
VVCh, 2022-01-08
@VVCh

information/sitemap - this is an html map
in a clean assembly, there is no way to assign urls to separate routes without extensions (see the Russian assembly, or oxstore)
extension/feed/google_sitemap - this is an xml map
in .htaccess there is an entry/rule for sitemap.xml
Which map do you need ?
or CNC which card do you need

O
opencartbot, 2022-01-11
@opencartbot

Very simple. Open the Design : SEO URL section in the admin panel and add a new entry there:
in the Request field: information/sitemap
in the Key field: sitemap

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question