| |||
|
Hi all, I have just installed Joomla 1.5 via the installer. To access my pages I have to go to the fully qualified domain i.e http://www.mydomain.com/joomla I have been told that if I add a redirect line in the .htaccess file, it will automatically send the user to the correct url when they visit my domain. The line I have been told to add is "Redirect / http://www.mydomain.com/joomla/" However this does not seem to work, can anyone tell me where this line should appear and should any of the other code in the file be removed or changed in any way? Many thanks |
| |||
|
we might have to have a look at the .htaccess itself to see where the problem might be. Can you email support@blacknight.ie with your domain name and we can have a look? You can also reference this forum thread to show what the problem is. Thanks |
| |||
|
Perhaps try: Code: Redirect /index.php http://www.mydomain.com/joomla/ If I may butt into this thread too as Im trying to achieve something similar. I have an existing static html site and am considering moving to a CMS, drupal in this case. What I'd like to do is install drupal to a subdirectory so I can mess about with it while the old site is still live etc and once Im ready just switch over to the CMS. However I'd prefer if the drupal subdirectory is invisible to any visitors. e.g. at the moment I have: www.mydomain.com/drupal/ using the suggested .htaccess in the top directory of mysite.com: Code: Redirect /index.php http://www.mydomain.com/drupal/ However, Id like this redirection to be invisible i.e. all a visitor sees in their address bar is: www.mydomain.com despite viewing the contents of www.mydomain.com/drupal/ Is this posible or should I just install drupal to the top directory of the site? Thanks. Last edited by Troodon; 13-08-08 at 03:18 AM. Reason: removing auto board tags. |
| |||
|
In response to my query the instructions here appear to work.
|