Can You Please Help? I Need To Redirect Naked Domain to Subdomain Address

Hi, I need to redirect my naked domain to the subdomain address (e.g. make dskillzmusic.com redirect to www.dskillzmusic.com)

Can you please help me solve this issue?

Thank you for your time and help in advance.

You need to create an .htaccess file with the following content:
#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^dskillzmusic.com [NC]
RewriteRule ^(.*)$ http://www.dskillzmusic.com/$1 [L,R=301,NC]

@dselva
You have two different pages/version

naked dskillzmusic.com is WordPress and is hosted here
www = version is on google

some website applications (such as WordPress) do not play well with multiple versions of a domain

you have to choose which variant your wordpress will use
www or naked and stick to it

moreover, it is also important for SEO

But I don’t know what you will do with the page that exists on the WWW
Do you need it?

Hi, thanks for your help! My goal is to get the naked dskillzmusic.com and www = version on google all to point towards my google sites page. So, if someone types either address on their browser, it’ll display the same thing. What should I do to accomplish this? Thanks again.

This sounds like the perfect case to use the Redirects tool. Simply use the Redirects tool in the control panel to redirect your website to http://www.dskillzmusic.com, and it will work.

Normally, that setup wouldn’t work because you’d get a redirect loop. But since the www subdomain is not handled by your free hosting account but by Google, that’s not a problem.

Hey, thank you so much. It works! I greatly appreciate your help and time!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.