R
R
Roman Grigoriev2017-06-22 16:02:10
opencart
Roman Grigoriev, 2017-06-22 16:02:10

CNC for custom pages in OpenCart 2?

I need to bring the site page site.ru/index.php?route=blog/blog to the form site.ru/blog. How to do this without modules, for example, by editing the controller for issuing the URL?
Each page was created using TPL+PHP (Template and Controller) and has the URL site.ru/index.php?route=blog/blog.
Default CNCs for OpenCart are set in the settings, but, for some reason, their effect does not apply to manually created pages.
Of course, pages with unique CNC can also be created through the admin panel (Articles). But such pages are more suitable for posting simple textual information. In addition, they are very difficult to format, because. each page is generated by the same information.tpl pattern. In general, it's difficult.
In the vastness of Google, people offer the SeoPro module, but it does not fit OpenCart 2, and if it does, it displays an error in PHP (Headings already sent) or even worse (
Many thanks in advance for the advice!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LandGraf, 2017-06-29
@LandGraf

Use the ocstore build, there is a built-in SeoPro

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question