coffeecatcher Posted August 19, 2013 Share Posted August 19, 2013 hi, I am using the godaddy hosting, and i installed the software to the subdirectory instead of root. Now i have the problem that my website is http://www.coffeecatcher.net/coffeecatcher/ instead of www.coffeecatcher.net i have googling and found that change of the htaccess to make it direct back to the hosting, but it is not work here is the htaccess i have copy from the other # Copy and paste the following code into the .htaccess file # in the public_html folder of your hosting account # make the changes to the file according to the instructions. # Do not change this line - RewriteEngine on RewriteEngine on # Change yourdomain.com to be your main domain. RewriteCond %{HTTP_HOST} ^(www.)?coffeecatcher.net$ # Change 'subfolder' to be the folder you will use for your main domain. RewriteCond %{REQUEST_URI} !^/coffeecatcher/ # Don't change this line. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Change 'subfolder' to be the folder you will use for your main domain. RewriteRule ^(.*)$ /coffeecatcher/$1 # Change yourdomain.com to be your main domain again. # Change 'subfolder' to be the folder you will use for your main domain # followed by / then the main file for your site, index.php, index.html, etc. RewriteCond %{HTTP_HOST} ^(www.)?coffeecatcher.net$ RewriteRule ^(/)?$ coffeecatcher/index.php [L] Can someone help me with solution thank you Link to comment Share on other sites More sharing options...
Ken_GoDaddy Posted August 29, 2013 Share Posted August 29, 2013 @coffeecatcher, I'm with GoDaddy and came across your post. It appears that you were able to resolve your concerns. I was able to access your site via http://www.coffeecatcher.net. It loaded up without redirecting to http://www.coffeecatcher.net/coffeecatcher/. If there is any additional questions, feel free to reply or send me a private message. Link to comment Share on other sites More sharing options...
Recommended Posts