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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...