Jump to content

Recommended Posts

Posted

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.

Posted

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"?

Posted

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.

 

Posted
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)?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...