.htacces code expert required.

I need someone to provide me with the correct .htaccess code to redirect all my Google indexed url's to https://www. The majority are indexed with the 'http://' prefix.

I am currently using the following code without success:

## Redirects all http:// requests to the same page, but with https://www.

RewriteEngine On

RewriteBase /

RewriteCond %{HTTPS} !=on

RewriteCond %{HTTP_HOST} ^mydomain\.net$ [OR]

RewriteCond %{HTTP_HOST} ^www\.mydomain\.net$

RewriteRule .* [login to view URL]%{REQUEST_URI} [R=301,L]

Skills: Coding

See more: code project expert system, linux expert required, revit expert required, textile designer expert required lahore, joomla expert required, 3dcart expert required, google adwords expert required, excel expert required saudi arabia, web plugin expert required, asterisk expert required, xsl expert required, computer soft ware hard ware expert required karachi, xml expert required, drupal ubercart expert required greek, magento expert required, opencv expert required, photoshopping expert required, seo expert required, excel expert required

About the Employer:
( 2 reviews ) Perth, Australia

Project ID: #23518870

Awarded to:


Hello there, I am a linux and windows system administrator at a web hosting company from more than 5 years. I understand your task and can easily do it. Who knows these stuff better than a system admin? I am availa More

$30 AUD in 1 day
(1 Review)

2 freelancers are bidding on average $50 for this job


Hi This should do the work, please use and let me know if it does: RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ [login to view URL]$1 [R,L] More

$70 AUD in 1 day
(0 Reviews)