1- How to exclude the admin backend from this code and is this completely correct code for my website to use?
2- My website is https and has two themes (desktop and mobile theme), https:www.website.com/index.php?route=common/home was redirected to https:www.website.com with an extension which did the job. Mobile theme's original url is: "/index.php?route=extension/mobile/home" I want to make it into "https://www.website.com/mobile"
P.S:Using Opencart Version 18.104.22.168
Any help & correction is appreciated
By the way the advices were given by IP_CAM on this artical viewtopic.php?t=207490 are very helpful..thanks for him!
the htaccess code that i have:
Code: Select all