.htaccess redirection to a specific directory
I created a website for someone. This time I used Joomla. Because I was playing with it at first I had created /joomla directory on the server and installed joomla in that directory. Now the website is almost ready so I'd like to redirect the / to that directory. It's a third-party hosted website. It's a linux server, but I'm not sure if I have any access to apache config files. I've got a cpanel login details at work. The only thing to play with at the moment is .htaccess
I've tried: Code:
RedirectMatch permanent ^/$ http://www.domain.com/joomla/index.php Is it possible with .htaccess only? Thank you. |
Is mod_rewrite on?
If it is, then: Quote:
|
Thanks. I don't have login details on me again. I'll check it tomorrow.
|
All times are GMT -5. The time now is 02:38 PM. |