Solved

Issue with having www in url for wordpress installation

Posted on 2013-06-25
6
275 Views
Last Modified: 2014-07-14
Hello, I have a site which uses the WP network type of installation. With that being said the site url is set to www.coloradocutthroat.com but I want to change it to coloradocutthroat.com. Currently people have to type in www.coloradocutthroat.com to get to my website instead of putting in coloradocutthroat.com. My domain on my host is setup as coloradocutthroat.com but my wordpress is forcing the www. How do I fix this on a network?
0
Comment
Question by:DancingFighterG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39275975
Edit the General Settings for the WordPress installation and remove the www. from there.
0
 
LVL 15

Expert Comment

by:eemit
ID: 39276091
1)
Change this in your wp-config.php:
define('DOMAIN_CURRENT_SITE', 'www.coloradocutthroat.com');
To:
define('DOMAIN_CURRENT_SITE', 'coloradocutthroat.com');

2)
In Network Admin Dashboard
- Go to Sites > All Sites
- Locate the site
- Click on the Edit action link
- In Tab Info: remove www from Domain if it exists
- Make sure that this checkbox is checked: Update siteurl and home as well
0
 

Author Comment

by:DancingFighterG
ID: 39293713
Hello, I went through the steps but I ran into one issue. When I go to the network sites section it does not allow me to change the domain. Also I don see the the checkbox - Update siteurl and home
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

Author Comment

by:DancingFighterG
ID: 39293727
Here is a screenshot of what I see. Is the checkbox in the setting area because I don't see it there either
screen.png
0
 
LVL 15

Accepted Solution

by:
eemit earned 500 total points
ID: 39294460
>Also I don't see the checkbox - Update siteurl and home  
Do you see the checkbox on another not the root site?

Unfortunately it looks you have to make changes in the database also.
Try to change siteurl and home options in wp_options table and in each of wp_x_options (e.g. wp_2_options ...) tables.

There is also the option named “siteurl” in the table wp_sitemeta.
0
 

Expert Comment

by:Richard Jemmett
ID: 40194508
I think that you need www - if you do not have it then Google and others will not see your site correctly. For example you need www. when adding structured data to webmaster.

I think what you need is for the user type in your domain name with or without www and still get to the website?
0

Featured Post

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What's this? As a volunteer Page Editor for Experts-Exchange.com, I have noticed that many authors also have blogs, and pull articles from their blogs to post at Experts-Exchange. I appreciate each author sharing their blog content with our site …
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question