Find Jobs
Hire Freelancers

Create the HTACCESS file of an existing Prestashop 1.5.6.1

$10-30 USD

Cancelled
Posted about 10 years ago

$10-30 USD

Paid on delivery
I am looking for a developer specialized in Prestashop. The PS 1.5.6.1 shop is done and live. The project consists in creating the HTACCESS only, in order to manage the multi-lingual / multi-domain shop. (We don't want to use the Multi-Store option) The shop, [login to view URL], is in 5 languages: EN, NL, FR, DE, IT There are 5 domains to associate with the languages (all with the same host) When a user visits [login to view URL] , he should see the contents of [login to view URL] When a user visits [login to view URL] , he should see the contents of [login to view URL] When a user visits [login to view URL] , he should see the contents of [login to view URL] When a user visits [login to view URL] , he should see the contents of [login to view URL] When a user visits [login to view URL] , he should see the contents of [login to view URL] We have upgraded from Prestashop 1.3 to Prestashop 1.5.6.1 , the below code from 1.3 used to work fine to manage assign each language to each domain, but it doesn't work for 1.5.6.1. We need someone to rewrite it taking into account the differences between PS 1.3 and PS 1.5. # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # [login to view URL] - [login to view URL] # URL rewriting module activation RewriteEngine on # Start lang-xx redirect to proper domain RewriteRule ^lang-en/?(.*)$ [login to view URL]$1 [R=301,L] RewriteRule ^lang-nl/?(.*)$ [login to view URL]$1 [R=301,L] RewriteRule ^lang-fr/?(.*)$ [login to view URL]$1 [R=301,L] RewriteRule ^lang-de/?(.*)$ [login to view URL]$1 [R=301,L] RewriteRule ^lang-it/?(.*)$ [login to view URL]$1 [R=301,L] # End lang-xx redirect to proper domain RewriteCond %{HTTP_HOST} ^[login to view URL] RewriteRule ^(.*)$ [login to view URL]$1 [R=301,L] RewriteCond %{HTTP_HOST} ^[login to view URL] RewriteRule ^(.*)$ [login to view URL]$1 [R=301,L] RewriteCond %{HTTP_HOST} ^[login to view URL] RewriteRule ^(.*)$ [login to view URL]$1 [R=301,L] RewriteCond %{HTTP_HOST} ^[login to view URL] RewriteRule ^(.*)$ [login to view URL]$1 [R=301,L] RewriteCond %{HTTP_HOST} ^[login to view URL] RewriteRule ^(.*)$ [login to view URL]$1 [R=301,L] Options All -Indexes <Files "*.tpl"> Order allow,deny Deny from all </Files> # URL rewriting rules RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$[login to view URL] [L,E] RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$[login to view URL] [L,E] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$[login to view URL] [L,E] RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /[login to view URL]$3&isolang=$1$5 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /[login to view URL]$2&isolang=$1$4 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /[login to view URL]$2&isolang=$1 [QSA,L,E] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /[login to view URL]$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /[login to view URL]$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /[login to view URL]$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /[login to view URL]$1 [QSA,L,E] RewriteRule ^site-map$ /[login to view URL] [QSA,L,E] RewriteRule ^contact-us$ /[login to view URL] [QSA,L,E] RewriteRule ^all-specials$ /[login to view URL] [QSA,L,E] RewriteRule ^new-products$ /[login to view URL] [QSA,L,E] RewriteRule ^top-sellers$ /[login to view URL] [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /[login to view URL]$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /[login to view URL]$1$3 [QSA,L,E] RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E] SetEnv PHP_VER 5 SetEnv register_globals 0 # Catch 404 errors ErrorDocument 404 /[login to view URL]
Project ID: 5415080

About the project

9 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $209 USD for this job
User Avatar
Dear Sir, We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Looking forward to hear from you soon - GOD Bless You.
$231 USD in 3 days
4.8 (36 reviews)
5.5
5.5
User Avatar
........... Give you the service beyond your expectations........... Hi I'm Expert Developer and Designer I'm Ready to Start Right Now Thank You:)
$157 USD in 3 days
4.7 (34 reviews)
5.1
5.1
User Avatar
Dear Project Provider, Introducing our self we are 7 year old company and having all the required skills set to complete your project on time and your budget. If you award your project to us we are assuring you we will deliver at most quality and error free software. We are operating our office from India and we will provide 24*7 support and free 1 month post support for your software. Looking forward to work with yours soon. Thanks, The Legend Team Contact Cell Phone number: +919943986200
$25 USD in 5 days
2.5 (4 reviews)
2.6
2.6

About the client

Flag of NETHERLANDS
Amsterdam, Netherlands
5.0
13
Payment method verified
Member since Aug 5, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.