| |||
|
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.
|
| |||
|
Hey all, I have a similar issue, thought I'd post it here just in case. I'm trying to do a rewrite so that a request for any sub folders in the domain www.xxxxx.com/title display the content of domain www.yyyyyyy.com/title (which is located on different server). First address is on a blacknight server. I've managed rewrites before using the code below, but I don't think it's applicable. apologies, htaccess and I don't really get along... oh - and most importantly, I need the URK to remain as www.xxxxx.com/title - so it's not just a redirect... Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} xxxxx.com RewriteCond %{REQUEST_URI} !titles/ RewriteRule ^(.*)$ titles/$1 [L] (this rule transferred a domain request to a folder within the same server) any help much appreciated! Last edited by rgf; 12-05-09 at 10:49 AM. |
| |||
|
Tried that and now I get a 404 error page cannot be found..... help __________________________________ Devis comparatif mutuelle sante | Comparateur mutuelles sante | Comparer comparatif mutuel |
| ||||
|
If you're still having issues please contact support with details including the domain and URLs etc.,
__________________ Please do not send me PMs for support issues - thanks for your understanding. Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Hosting Wiki |Speed Test|Webmaster Chat |Personal Blog |
![]() |
| Tags |
| htaccess, redirect |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|