The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Help with relative path
PostPosted: Fri Dec 02, 2005 4:14 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Dec 02, 2005 1:04 pm
Posts: 8
Hello there,

I been looking for this everywhere but cannot find simple answer.
What I'm after is havimg my joomla powered site look like this...

http://www.mysite.com

not like this http://www.mysite.com/Joomla

I installed the Joomla stuff into the folder called Joomla, I need this because there are other folders in the root of my site
How can I archive to have only the showing the domain name of the site but not actually the folder where is joomla files?

Thanks for your help.
Marcel


Top
 Profile  
 
PostPosted: Fri Dec 02, 2005 4:43 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 19, 2005 3:03 pm
Posts: 6046
Location: Indiana, USA
can i ask what the other folders at the root are? i cannot think of why you would need Joomla! to be in a separate directory if you don't want to acess the root anyway... please clarify?

_________________
If you're new to Joomla, Please read Anna's Joomla! Tips: viewtopic.php?t=5503

http://nathandiehl.com | Find out what makes me tick


Top
 Profile  
 
PostPosted: Sat Dec 03, 2005 2:05 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Dec 02, 2005 1:04 pm
Posts: 8
Well, what I want to do is to have folders for main componets of the site organized in folders.
But when you launch the site I don't want visitors to see the logical structure of the site organized in folders, rather then saying something like
http://www.mysite.com/news
http://www.mysite.com/blog
etc...

For example the root should contain this...
joomla (for joomla files)
gallery (for gallery plug-in)
images (all images used in site)
watermarks
etc...

What I want to avoid is to have joomla directories  on the root and have some other plug-ins dumped in there as well, soone it will became mess I have no way of telling which dir belong to who.

Maybe it sound strange, but sooner later if I don't organize the folders/files in right order on site from scratch it will became mess just like my local hdd  :D
marcel


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 3:08 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 19, 2005 3:03 pm
Posts: 6046
Location: Indiana, USA
so you want Joomla to be a sub-directory, but have access to directories above itself--not a wise structural move.

but this can do done on the direct of your domain name, if you insist on this programming habit. it should be able to do be done via your domain's control panel. (this is not a Joomla! issue, as you're trying to do something that is not a proper practice)

_________________
If you're new to Joomla, Please read Anna's Joomla! Tips: viewtopic.php?t=5503

http://nathandiehl.com | Find out what makes me tick


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 3:19 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Dec 02, 2005 1:04 pm
Posts: 8
well, what I want to archieve is this...

Have Joomla in the subfolder called joomle under the root.
But when someone visit the site it will not show that subfolder called joomla. Instead it should look like this url.
http://www.mysite.com

obviously since I place all Joomla related stuff in directory called joomla the site will look like this...
http://www.mysite.com/joomla
and that I want to avoid.

Is there some way how to archieve this? maybe edit the htaccess file? I'm not sure on this.
Thanks a lot for all your help.
Marcel


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 3:26 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Oct 08, 2005 3:25 pm
Posts: 363
Location: Australia
im looking for the same answer here:
http://forum.joomla.org/index.php/topic,12456.0.html

_________________
http://www.persianari.com


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 3:47 pm 
Joomla! Hero
Joomla! Hero
Offline

Joined: Tue Aug 23, 2005 1:56 pm
Posts: 2265
Location: Kent / Sussex / Surrey border UK
If you do what nathandiehl says and goto your cpanel or whatever your server uses and open the redirect function and just point http://mydomain.com/index.html&nbsp; to  http://mydomain.com/joomla this should do what you ask. However I believe you can have your joomla in root and use one of the sef modules configured so the url is always what you want, but best to ask a sef expert about that.

_________________
http://www.gadsolutions.biz Electrical services
http://www.electrical-testing-safety.co.uk Testing services


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 3:52 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Oct 08, 2005 3:25 pm
Posts: 363
Location: Australia
nathandiehl wrote:
so you want Joomla to be a sub-directory, but have access to directories above itself--not a wise structural move.

can i ask why?
isn't it just like setting up a sub-domain?

_________________
http://www.persianari.com


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 3:55 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Oct 08, 2005 3:25 pm
Posts: 363
Location: Australia
gws wrote:
If you do what nathandiehl says and goto your cpanel or whatever your server uses and open the redirect function and just point http://mydomain.com/index.html  to  http://mydomain.com/joomla this should do what you ask. However I believe you can have your joomla in root and use one of the sef modules configured so the url is always what you want, but best to ask a sef expert about that.

wouldnt this just do a redirect.
i.e. http://mydomains.com/index.html to http://www.mydomain.com/joomla/index.html
so that the link in the address bar is http://www.mydomain.com/joomla/index.html?

_________________
http://www.persianari.com


Last edited by Anonymous on Tue Dec 06, 2005 3:43 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 4:03 pm 
Joomla! Hero
Joomla! Hero
Offline

Joined: Tue Aug 23, 2005 1:56 pm
Posts: 2265
Location: Kent / Sussex / Surrey border UK
Ahg! Yes sorry it will still show the /joomla/

_________________
http://www.gadsolutions.biz Electrical services
http://www.electrical-testing-safety.co.uk Testing services


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 4:11 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Oct 08, 2005 3:25 pm
Posts: 363
Location: Australia
yeh so that will be the same as adding the redirect code to the page, but done throught the .htaccess file which makes the website more SEF.
but i guess the question here is:
is there a way of making a folder in such a way as to make it a virtual directory?
i.e. if you go to http://www.domainname.com it will go to domainname.com/joomla but will only show http://www.domainname.com.

_________________
http://www.persianari.com


Top
 Profile  
 
PostPosted: Mon Dec 05, 2005 7:10 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 19, 2005 3:03 pm
Posts: 6046
Location: Indiana, USA
I still don't recommend doing what you want. It is not effecient and is not nice.

Joomla! plays very well with other folders co-loctated in the root (such as /blog).

Joomla! may not play very well with folders located above the root of the Joomla! install...

_________________
If you're new to Joomla, Please read Anna's Joomla! Tips: viewtopic.php?t=5503

http://nathandiehl.com | Find out what makes me tick


Last edited by nathandiehl on Mon Dec 05, 2005 7:13 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Dec 06, 2005 3:40 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sat Oct 08, 2005 3:25 pm
Posts: 363
Location: Australia
I understand.
I have installed my Joomla!  in the root.
Its just that I am curious if it is possible to direct a domain name to a folder which you have in your root whilst keeping the url in the address bar as http://www.domainname.com rather than http://www.domainname.com/subfolder.
What do people do when they have multiple domains on the one account?
Does the host creat virtual folders in the root?

_________________
http://www.persianari.com


Last edited by Anonymous on Tue Dec 06, 2005 3:45 am, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 



Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group