url redirect none www to www

by MarkNsu   Last Updated September 26, 2017 09:08 AM

In my general settings the url shows without www

enter image description here

If I put www like this

enter image description here

Do I need to do .htaccess mod_rewrite to redirect my none www(example.com) doamin to redirect www (www.example.com) or is this properly handle url redirect?

Answers 1

IMO, going to your .htaccess file is not necessary.

You can instead flush permalink rules in the Permalink Settings area of your site. Just click on Permalinks, select a new option (other than the current one you're using), save... Click on Permalinks again, choose your previous option, and then save again. And that does it!.

Samuel Asor
Samuel Asor
September 26, 2017 09:38 AM

Related Questions

How to add query string in all url?

Updated December 07, 2016 08:03 AM

Pass query string to URL after form submission

Updated June 12, 2015 02:03 AM

Unable to perform simple URL rewrite

Updated July 14, 2015 15:03 PM

Wordpress url max 2147483647

Updated May 23, 2016 09:03 AM