301 redirect through .htaccess for the OpenCart 3 site
and exactly:
You need to make sure that all people who come to the page:
HTTPS://site.ua/address?lang=en (i.e. address with get parameter)
redirected (301 redirected, permanent)
on the page:
https://site.ua/en/address (i.e. the get parameter disappears, instead /en/ is added between the host (%{HTTP_HOST}) and the site address.
For example:
from https://site.ua/collection/buketi?lang=en NA https://site.ua/en/collection/buketi and so on.
That is, the rule is interesting, so that there is no need for one to make a lot of redirects for each of the pages of the site.
by P.S.All pages on the site have such an url format, i.e. the rule should work both for categories and for products pages, info pages, the main page of the site, etc.
-
6220 198 0 Ready to start work.
FTP access will be required.
Portfolio: https://riashentsev.com.ua/?flh=rate#portfolio
-
2881 80 0 The task is clear, I'll write the rule for your htaccess, write in a personal message, I'll quickly complete everything
-
3043 805 0 I can get married to opencart.
• • • • •
-
3350 148 4 1 Good day .
I will be able to set up and show you how everything will work.
If you have any questions you can write to me at L.S.
-
2593 427 9 1 Готов сделать
=- =- =- =- -= =- =- =- =- -= =- =- =- =- -= =- =- =- =- -= =- =- =- =- -=
-
1405 18 0 Good Morning . You can try this option.
RewriteEngine on
RewriteCond %{QUERY_STRING} ^lang=en$ [NC]
RewriteRule ^( .*)$ https://%{HTTP_HOST}/en/$1? [R=301 and L]
-
715 87 8 3 I can do it on PHP.
_________________________________________________________
_________________________________________________________
-
1206 19 0 Welcome, try this way:
RewriteEngine on
RewriteCond %{QUERY_STRING} (^♰&)lang=en($♰&)
RewriteRule ^( .*)$ https://%{HTTP_HOST}/en/$1? [R = 301, L and QSD]
Current freelance projects in the category Web Programming
Automation of sending KP messages on LinkedIn, WhatsApp, Reddit
223 USD
Automation is needed for sending messages with a link to the KP on LinkedIn, WhatsApp, Reddit. Please describe how this will be implemented, the timeline, and the cost. AI & Machine Learning, Web Programming ∙ 3 hours 12 minutes back ∙ 27 proposals |
Acceleration of website performance (code optimization)
45 USD
1. It is necessary to analyze the website and optimize the code for fast loading of the site. 2. Conduct an analysis of the website for errors and fix them. Web Programming ∙ 8 hours 18 minutes back ∙ 54 proposals |
Moving from Hosting to AnotherGood day I plan to transfer the website from the hosting in Ukraine to hosting.works. Also, it is necessary to set up a rule that if the traffic from a certain IP exceeds, for example, 100 requests per day, it should be blocked. Content Management Systems, Web Programming ∙ 11 hours 52 minutes back ∙ 76 proposals |
Creation of a website for a recruitment agency
1115 USD
We are a recruitment agency, and we are looking for an experienced web developer to create a modern and user-friendly website. We want to allow candidates to propose their own price for the service. Therefore, we are looking for a specialist who has experience in custom… Web Programming ∙ 12 hours 41 minutes back ∙ 111 proposals |
Improvement of site CR conversion
145 USD
Improvement of the website's CR conversion. Tasks according to the specifications https://docs.google.com/document/d/1Y7zipbe2IEnFpthYuheAr6QA_50aR2Fz8V14rp5NpNo/edit?usp=sharingBOOK NOW buttonphoto / videoshort textAND IMMEDIATELY the booking formfixed (sticky)to repeat every… HTML & CSS, Web Programming ∙ 15 hours 55 minutes back ∙ 37 proposals |