I’m sure this question has been asked a thousand times, but I’ve followed all of the instructions I could find and I can’t get my root domain to redirect to www.
My server was pre-installed with WordPress, but then I decided to configure it to accommodate multiple sites/domains on one server. I assume, my domain/site previously redirected to www, but I can’t say for sure.
I would appreciate some help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Ok, it seems the issue was an .htaccess file left in the root directory my www folder (after I moved the site occupying that directory into a sub-directory). So it seems suggestions to investigate the .htacess file was a step in the right direction. Thanks for your help everyone.
You can also go directly to WordPress settings and into menu Settings -> General you can find two options “WordPress Address (URL)” and “Site Address (URL)”. You simply have to edit both URLs with or without www, like you prefer.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.