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. Quote
Ashoat Posted October 1, 2009 Posted October 1, 2009 You should upload to "public_html" instead of "web root". Quote
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"? Quote
Byron Posted October 2, 2009 Posted October 2, 2009 Can you just move the files from the joomla directory to your public_html directory? Quote
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.. Quote
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. Quote
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)? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.