M
M
maiskiykot2019-04-09 00:20:31
opencart
maiskiykot, 2019-04-09 00:20:31

Which file in opencart is responsible for processing the url request?

There was a need to intercept the url sent from the product page and partially change it. I can't determine which file in opencart is responsible for parsing the url and returning a 404 or 200 error. seo_url is enabled. I would be grateful for any hints.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2019-04-09
@zoozag

Depending on the used seo url engine:
catalog/controller/startup/seo_url.php
catalog/controller/startup/seo_pro.php
404 can be thrown anywhere.

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question