Need help rewriting .htaccess for www. to non www

I have a website the populates fine without www but is not shoing up in MS Edge with www in from of the domain.

I need some help with the correct php code for to handle going from www to non www.

Also, my site has an htaccess file so I need to rewrite the file without breaking my site. I don't know what the current file is doing.

Current HTAccess is:

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /[login to view URL] [L]


Found blog suggesting something like...

RewriteEngine On

RewriteCond %{HTTPS_HOST} ^[login to view URL] [NC]

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

I'm looking for the correct text to copy then paste into my htacess file and have it work.

I think this is a super simple project for someone that knows what they are doing. Once you provide the new file, I will copy and paste it into my site and ensure is works.

Skills: PHP, WordPress, Linux, MySQL, Apache

See more: mp3 files need help transcribing, subdomain rewriting htaccess, need help adding google adsense site, freelance need help wsdl file, open source projects need help, need help text website, need help building resume, need help fixing cre loaded, coldfusion website need help, url rewriting htaccess file maker, need help finishing work, need help design hair salon, need help mcafee secure vulnerabilities, need help cloning website, zen cart need help, need help designing myspace web, need help install creloaded, need help web htaccess, wi need help to do a write up for home page on website

About the Employer:
( 165 reviews ) clearwater, United States

Project ID: #25438708

Awarded to:


Hi Kurtis. htaccess redirecting is my best skill. I don't need your site and admin access. I can test it in my local side. If you assign this job to me, I can get perfect result within 15 mins. Thanks.

$20 USD in 1 day
(6 Reviews)

6 freelancers are bidding on average $20 for this job


hello i have done this on my sites for my clients. i can give you my htaccess text and you can copy could you ping to chat to start now ?

$20 USD in 1 day
(15 Reviews)

hi, I hve strong experience in htacces and rewrite the code. having 7+years of strong experience. I will fixe your redirection issues. thanks santosh

$30 USD in 1 day
(5 Reviews)

I,m Interested.

$25 USD in 1 day
(0 Reviews)

I don't want to waste your precious time sir i can deliver your project on time please give me one chance.

$12 USD in 1 day
(0 Reviews)

I can definitely do the job as a Web Developer with Word press development skills to design and develop a highly responsive, Modern, Professional look and feel website with great quality and precision. I am a senior We More

$10 USD in 1 day
(1 Review)