Настройка редиректов в htaccess
4 USDDebian 9 + Apache2 + Opencart 2.3
Сайт переехал с Wordpress на Opencart. Нужно настроить редиректы в htaccess по маске:
С http://site.com/en/ НА https://site.com/en-gb/
С http://site.com/category/?category=product-name НА https://site.com/categories/product-name
С http://site.com/billing/?category=product-name НА https://site.com/categories/product-name
С http://site.com/certificates/page/(1...99) НА https://site.com/certificates/
С http://site.com/billing-certificate/?certificate=(1...10000) НА https://site.com/certificates
Разумеется, что все указанные редиректы должны работать дружно на одном сайте, не мешая друг другу и не перегружая сервер.
Рекомендую попробовать сделать у себя такой редирект (правило №2) перед тем как делать ставку.
Client's feedback on cooperation with Vanya Kutuzov
Настройка редиректов в htaccessРаботой доволен. Ваня стойко сражался c RewrireRule, но потом предложит альтернативное решение и оно сработало.
Готовлю для Вани еще одно ТЗ.
Profile banned | Safe
-
3244 195 1 4 Обращайтесь - сделаю в лучшем виде. Все примеры просмотрел и опробовал.
Опыт администрирования 17 лет.
Примеры клиентов для которых настраивал и поддерживаю сервера можно посмотреть на моем сайте - https://dl.sm.ua/clients/administer.html
__________
С уважением, Дмитрий Лаврик
WWW: https://dl.sm.ua
E-mail: [email protected]
Skype: dmytro.lavryk
Facebook: https://www.facebook.com/dmytro.lavryk
… Тел. (viber): +380506037953
Telegram: @dlsumy
-
3029 379 7 1 Сделаю
= -=- =-= -= - =- =- =- =- =- =- = -=- =- =- =- =- =- =- =- =- =- = -= -= -= -= -= -= - =- =- =- =- =- =-
Current freelance projects in the category PHP
Admin panel for an article websiteGood day. It is necessary to write an admin panel for a gaming article website (this website - https://themeforest.net/item/goodgames-portal-store-html-gaming-template/17704593) The admin panel should include: 1. **User Management:** - Creating new users. - Editing… HTML and CSS, PHP ∙ 5 proposals |
Laravel + VueJS + InertiaJSGood day, the project is written, it is working and ready to launch. Except for one nuance. SSR(Server Side Rendering) works very slowly, when launching a bot to check the load - the site crashes after 3-4 minutes. If you restart SSR during the check, it works but very slowly.… JavaScript, PHP ∙ 2 proposals |
Change the logic of the promotion 1+1=3Video about what needs to be done https://www.loom.com/share/e73bc4b1b04c49f7b78acf95e9ce7d15?sid=73b5c8ee-c7c5-4518-86ef-acfc7ffda194 In short, the logic of the promotion 1+1=3 needs to be changed. Currently, when adding 2 pizzas of 40cm, a modal pops up where the user can… PHP ∙ 1 proposal |
Integrate 1c and WoocommerceIt is necessary to implement the import of goods from 1C to the Woocommerce website, as well as their updates. An important point is that there are a number of custom meta fields made through ACF, they also need to be imported. Import all media files for the product (Main photo,… 1C, PHP ∙ 1 proposal |
Laravel developer with skills working with SphinxHello, I am looking for a Laravel developer who can help improve the current functionality of one of the projects. Skills in working with Sphinx are important, as well as the ability to work with JS at a more or less basic level. Please specify the cost of 1 hour of your work in… PHP, Web programming ∙ 2 proposals |