Press "Enter" to skip to content

Category: Wordpress

Wordpress tricks, hacks and solutions I’ve researched and used.

WordPress Multisite WWW-redirect

During the set-up of my new site configuration I stumbled upon an issue that prevented my from visiting my root domain without using the “www” prefix. This bothered me as I never use this prefix manually. After some googling around I found a quick and simple solution that automatically redirects the user to the www-prefixed domain.

In the “.htaccess” file in your root folder add the following code segment at the start of your file above the part you replaced in the WordPress MultiSite installation:

Replace “domain.com” with your domain (e.g. triplustutorials.be). Your root domain is now accessabel without the www prefix! Thanks to this post for the clarification.

Leave a Comment

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close