R
R
Ruslan2022-01-13 11:02:53
opencart
Ruslan, 2022-01-13 11:02:53

How to remove unnecessary page in opencart?

Hello! There is a Contact Us page in opencart 2.3 at site.ru/contact-us/ . I made my contact page, but this one is not needed. How can I remove it from the site? It's not in the admin. I removed it from the sitemap simply in the tpl template. But how do you remove it from the site? Or set up an error in htaccess 404 for it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VVCh, 2022-01-13
@VVCh

remove controller
information/contact
Or rename index method
Or!!!!!
after index()
$this->load->controller(your new route);
return;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question