Making www.mydomain.com as the main site in wordpress network (2 posts)

  1. Harish Chouhan
    Posted 4 years ago #


    I recently installed wordpress and setup the network on my domain http://www.turant.net

    The issue is, the first default site it shows is http://turant.net. I want the main site to be http://www.turant.net (with the www).

    As I did not find any option I had to create a new site using the WordPress network.

    Now its treating http://www.turant.net and turant.net as different websites.

    Is there a way to have only 1, i,e, http://www.turant.net

  2. flamenco
    Posted 4 years ago #

    Generally, yes, by using commands in the .htaccess file in the root of your site. (This assumes you are using Unix hosting, not Windows).

    I would suggest doing a Google search on these terms:

    htaccess force www

    Plenty of good examples come up. Back up first... if you're not experienced in editing this file, it can cause trouble.

    Good luck.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.