apo Posted October 1, 2009 Posted October 1, 2009 Hi, im noob and i have a question about accessing my web page. I made a web page with Joomla and i upload at "web root/joomla". So i type "mysite.heliohost.org/joomla" to access my site. Is there a way to acess my site like "mysite.heliohost.org" without change the struct "web root/joomla" ? Thanks a lot.
Ashoat Posted October 1, 2009 Posted October 1, 2009 You should upload to "public_html" instead of "web root".
apo Posted October 2, 2009 Author Posted October 2, 2009 ok, now i have my site in "public_html/joomla" and i access my web site by typing "mysite.heliohost.org/joomla". What should i do so i can access my site typing "mysite.heliohost.org" without change the struct i store the data "public_html/joomla"?
Byron Posted October 2, 2009 Posted October 2, 2009 Can you just move the files from the joomla directory to your public_html directory?
apo Posted October 2, 2009 Author Posted October 2, 2009 yes i can.. but i wonder if there is another way without move the files..
Byron Posted October 2, 2009 Posted October 2, 2009 You could add this to your public_html .htaccess file: RewriteEngine On RewriteRule ^/?$ /joomla/ That way you can still go to the pages in your public_html folder but this will redirect you to the index file of the joomla folder: mysite.heliohost.org You might need to write it this way, adding this [R=301,L] for your images to work? RewriteEngine On RewriteRule ^/?$ /joomla/ [R=301,L] the other way the browser doesn't know it's been redirected.
sicmag Posted October 4, 2009 Posted October 4, 2009 yes i can.. but i wonder if there is another way without move the files.. Just wondering, why? Why don't you just install joomla directly to the web root (public_html)?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now