En cours

htaccess rewrite rules

I have an opencart multi store with Shop 1 and Shop 2

Shop 1 have www and Shop 2 doesn´t have www

I have a htaccess with two redirections

[url removed, login to view] redirects to [url removed, login to view]

[url removed, login to view] redirects to [url removed, login to view]

I have the opencart default htaccess with these extra lines

RewriteCond %{HTTP_HOST} ^shop1\.com [NC]

RewriteRule ^(.*)$ [url removed, login to view]$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^www\.shop2\.com$ [NC]

RewriteRule ^(.*)$ [url removed, login to view]$1 [L,R=301]

Besides I have 2 blogs in two different directories

/blog1/ is the blog of shop1

/blog2/ is the blog for shop2

The problem is:

You can access for example to blog1 with four urls

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

It means duplicate content

What I need:

The shops are in the root of the directory, they must work as they do now

[url removed, login to view] redirects to [url removed, login to view] (Shop 1 always shows www)

[url removed, login to view] redirects to [url removed, login to view] (Shop 2 never shows www)

But I need just 1 url for each blog, I mean

Blog 1 url: [url removed, login to view]

Blog 2 url: [url removed, login to view]

So I need somebody to write some rules inside htaccess for me

Compétences : HTML5, OpenCart, PHP

Voir plus : need somebody to write blog, access example project, oscommerce rewrite htaccess, cutenews mod rewrite htaccess, htaccess redirects dynamic urls, search form access example, url rewrite htaccess subdomains, php mod rewrite htaccess, access example garage database, update access example, url rewrite htaccess subdomain

Concernant l'employeur :
( 15 commentaires ) Alcala de Guadaira, Spain

N° du projet : #8472786

Décerné à :

BitLabs

Dear sir, I will complete your project asap, LIFETIME error free guarantee and provide ONE YEAR support... I have gone through your outsourced requirement "htaccess rewrite rules" and have analysed that I have righ Plus

30 $ USD en 1 jour
(48 Commentaires)
5.0

6 freelance ont fait une offre moyenne de 35 $ pour ce travail

lokeshvvw

Sir, can do this as required. will need access to server. i have 10+ year experience working with PHP and have worked all kinds of application, have over 95% completion rate at Freelancer..never been late on my p Plus

24 $ USD en 1 jour
(138 Commentaires)
6.5
Meagan26

Hello, I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer with a diploma in the field of web development. I have been working in the field of web Plus

54 $ USD en 1 jour
(125 Commentaires)
6.4
HitekCode

Hello, My name is Joshua and i would like to assist you with this project. I can provide a fast turnaround and get started quickly. Thanks,

40 $ USD en 1 jour
(42 Commentaires)
4.7
billeeng

A proposal has not yet been provided

25 $ USD en 6 jours
(1 Commentaire)
0.6
daywalker90

Ready to Go sir. Expert Web developer all web languages and i can fix your problem asap. Thank you , please chat for more details

35 $ USD en 3 jours
(0 Commentaires)
0.0