cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted
New

.htacess help

Hopping someone here might know how to help. I have htacess file in my cPanel public root folder that has the following:
"
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.htm [NC,L]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.overwatchmedia.net/$1 [R,L]
"
The first removes the trailing .htm  example: conan.net/music.htm
The second part is there to force https on my primary domain conan.net. My issue is that I am using addon domains. And one of my addon domains (conan.com) is using a subdomain (test.conan.com). Well the subdomain keeps routing to the .net version of it. Everything routes correct if I disable the route htacess file though, however, I need it for the primary domain. Any help on how I can redo my htacess files?
2 REPLIES 2
Community Manager
Community Manager
Solution

Re: .htacess help

Hi @CVoice. Thanks for being part of GoDaddy Community! Have you tried putting a .htaccess file in the directory that your subdomain routes to? I think .htaccess files will act recursively (on directories under them) if there isn't another .htaccess file to dictate otherwise. Hope that helps.  

 

JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.
New

Re: .htacess help

how can i used my old web. Custermer [removed]