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...
vekia Posted August 19, 2013 Share Posted August 19, 2013 duplicated: http://www.prestashop.com/forums/topic/268955-how-to-direct-my-subdir-to-my-domain/page__fromsearch__1 Link to comment Share on other sites More sharing options...
Recommended Posts