Solved

Issue with having www in url for wordpress installation

Posted on 2013-06-25
6
274 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
css issues with IE 11 8 61
Wordpress DB connection error 4 40
Sharing Wordpress blog post on Facebook: how to select which icon to use 11 72
Custom WordPress pages? 4 41
Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
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 integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

739 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