Joomla! Discussion Forums



It is currently Tue Feb 09, 2010 10:01 pm (All times are UTC )

 


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  [ 16 posts ] 
Author Message
Posted: Mon Mar 16, 2009 5:05 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Mar 16, 2009 4:42 pm
Posts: 4
I installed Joomla on the Remote Host (Godaddy) only. I created website. Cannot figure out how to make it show up at main site http://www.domain.com instead of http://www.domain.com/joomla. Don't know how to move it to main directory. This was not addressed in Absolute Beginners Guide.

Any help would be appreciated.

If I had created website on local computer I realize I could FTP it and it would show at http://www.domain.com ...but on remote host, not sure how to fix this issue.

P.S. I have been in MyphpAdmin, but have no clue how to use it.


Last edited by humvee on Tue Jul 14, 2009 10:10 am, edited 1 time in total.
marked resolved


Top
  E-mail  
 
Posted: Mon Mar 16, 2009 5:21 pm 
User avatar
Joomla! Ace
Joomla! Ace
Online

Joined: Sun May 25, 2008 8:05 am
Posts: 1869
Location: Montreal, Quebec, Canada
Bonjour,

If there is nothing else in the root of your site (www.domain.com) other than the default Go Daddy files and folders, then in the File Manager of the Hosting Control Center, select the joomla folder in the right pane and click the move button and choose the root of the site from the left pane as the destination. Once that is finished, edit the configuration.php tmp and log paths to reflect this new location (just remove the /joomla).

Cheers!
Lyle

_________________
www.2ninerniner2.com - FREE templates/themes-Joomla!,Drupal,WordPress,HTML, Joomla! tips/getting started guides for beginners
www.cfwzz.com - my old 'ride'

@2ninerniner2 - don't take life too seriously - no one has ever gotten out of it alive


Top
  E-mail  
 
Posted: Mon Mar 16, 2009 5:27 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Mar 16, 2009 4:42 pm
Posts: 4
You are awesome! Thanks...I will try it!


Top
  E-mail  
 
Posted: Mon Mar 16, 2009 5:29 pm 
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Mar 11, 2008 7:04 pm
Posts: 515
Location: Berkshire, UK
Seem to be answering this one quite frequently. Install JoomlaPack from the extensions directory http://extensions.joomla.org/extensions ... 06/details create a backup (using it) of the site in /joomla
Then load the backup file to the new area along with kickstart.php (see extension) and call it.

Remember to delete kickstart.php after the restore.

_________________
Hugh
http://www.officepark.co.uk


Top
  E-mail  
 
Posted: Mon Mar 16, 2009 5:34 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Mar 16, 2009 4:42 pm
Posts: 4
Thanks so much for your reply. I did back up to my hard drive with Filezilla, but this sounds much better.


Top
  E-mail  
 
Posted: Mon Mar 16, 2009 6:39 pm 
User avatar
Joomla! Ace
Joomla! Ace
Online

Joined: Sun May 25, 2008 8:05 am
Posts: 1869
Location: Montreal, Quebec, Canada
hdouglas wrote:
Seem to be answering this one quite frequently. Install JoomlaPack from the extensions directory http://extensions.joomla.org/extensions ... 06/details create a backup (using it) of the site in /joomla
Then load the backup file to the new area along with kickstart.php (see extension) and call it.

Remember to delete kickstart.php after the restore.


Actually, this is unnecessary on a Go Daddy Linux account just to move it up one level. 3 clicks, edit the config and it's done! :)

_________________
www.2ninerniner2.com - FREE templates/themes-Joomla!,Drupal,WordPress,HTML, Joomla! tips/getting started guides for beginners
www.cfwzz.com - my old 'ride'

@2ninerniner2 - don't take life too seriously - no one has ever gotten out of it alive


Top
  E-mail  
 
Posted: Thu Mar 26, 2009 7:37 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 26, 2009 7:14 pm
Posts: 6
2ninerniner2 wrote:
Bonjour,

If there is nothing else in the root of your site (http://www.domain.com) other than the default Go Daddy files and folders,


What if there is other content at the root that you want to leave there? In other words, the goal is to leave the joomla install at /wwwpathonserver/joomla but have joomla show up at http://www.domain.com?


Top
   
 
Posted: Thu Mar 26, 2009 8:22 pm 
User avatar
Joomla! Ace
Joomla! Ace
Online

Joined: Sun May 25, 2008 8:05 am
Posts: 1869
Location: Montreal, Quebec, Canada
Then you would have to use a re-direct, which can be set up from the Domain Management area of you account.

_________________
www.2ninerniner2.com - FREE templates/themes-Joomla!,Drupal,WordPress,HTML, Joomla! tips/getting started guides for beginners
www.cfwzz.com - my old 'ride'

@2ninerniner2 - don't take life too seriously - no one has ever gotten out of it alive


Top
  E-mail  
 
Posted: Thu Mar 26, 2009 10:31 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 26, 2009 7:14 pm
Posts: 6
Thanks 2992. Sorry, I'm not doing this in a hosted environment. I'm running my own apache webserver. I'm not sure if what you call a "re-direct" will do what I want. Are you using it in the same meaning as an apache "redirect" directive? If so, I don't see how I could use that to do what I want.

I want to have joomla be located in /serverdirectory/joomla but be served when someone goes to http://domain.edu/ without the "joomla/" appearing in the url.

There are lots of others directories at the same level as the joomla folder. ex. /serverdirectory/app1
/serverdirectory/app2
/serverdirectory/legacyFileNotServedByjoomla.html

I still want those to be
http://domain.edu/app1
http://domain.edu/app2
http://domain.edu/legacyFileNotServedByjoomla.html

I just want to mask the "joomla" from the URL, yet keep things in the /joomla subdirectory to keep it tidy.

This kind of thing seems pretty common with wordpress (they have a faq item:http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory) so I didn't think it would be that uncommon for a joomla setup.

Thank you for your help. I appreciate the time.


Top
   
 
Posted: Fri Mar 27, 2009 1:18 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 26, 2009 7:14 pm
Posts: 6
I found an earlier thread talking about this. Using that thread, I think I have created a working solution. I need to do more testing to make sure components all still work but it looks good so far. I am using Joomla 1.5.9 with apache on linux, with the three built-in SEO settings all turned on. My solution was:

#1 -- create an .htaccess file inside the /webroot/ with the contents:

Code:
RewriteBase /

## Begin http://www.drichproductions.com/random-knowledge/rewrite-root-directory-subdirectory.php
#
# Add trailing slash if path does not contain a period or end with a slash
RewriteCond %{REQUEST_URI} !(\.|/$)
RewriteRule (.*) http://yoursite.com/$1/ [R=301,L]

#Change http://yoursite.com to http://www.yoursite.com (Optional)
#RewriteCond %{HTTP_HOST} ^yoursite.com$
#RewriteRule ^/?(.*)$ http://www.yoursite.com/$1 [R=301,L]
#### Rewrites http://www.yoursite.com/subdir to http://www.yoursite.com/
## Added this to allow existing files and directories to work
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
## Now the rewrite of subdir to rootdir
RewriteCond %{REQUEST_URI} !^/joomla
RewriteRule ^(.*)$ joomla/$1 [L]


#2 -- rename the standard /webroot/joomla/htaccess.txt file to /webroot/joomla/.htaccess file. Change "#RewriteBase /" to "RewriteBase /joomla"

#3 -- In joomla/configuration.php, set $live_site to
Code:
var $live_site = 'http://yoursite.com';


Hope this is helpful.


Top
   
 
Posted: Fri Apr 03, 2009 12:48 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Mar 16, 2009 4:42 pm
Posts: 4
:D I just got my website up and running due to the excellent advice I recieved from: 2ninerniner2 !!!

Thanks for all your great help!!! Your advice was very easy to understand. Thanks for taking the time to help me with my Godaddy questions.

Your advice was correct and totally awesome!!!


Top
  E-mail  
 
Posted: Sun Apr 05, 2009 10:30 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Apr 04, 2009 11:42 pm
Posts: 1
After spending several days and trying advice about altering the .htaccess file that didn't work for me, I came across this forum. Thank you so very much 2ninerniner2! ... I finally got my website running without the Joomla directory showing. Your instructions were so very easy to follow and I was able to do in only a couple of minutes in my GoDaddy account.


Top
  E-mail  
 
Posted: Mon Apr 06, 2009 10:30 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Sep 07, 2007 7:28 pm
Posts: 371
Location: Arizona
These are all great solutions. If you only need to create a redirect you may also find the Sites Redirect Manager helpful. You can redirect your site from http://www.domain.com to http://www.domain.com/joomla. Make sure to select the Content Redirect Option of "No Redirect" in order to avoid a circular redirect loop. Detailed instructions can be found in this help article: http://help.godaddy.com/article/5120

_________________
Official GoDaddy.com Support Representative
www.godaddy.com/community/community.aspx?tab=support www.GoDaddy.com/Community - Support Info


Top
  E-mail  
 
Posted: Mon Jul 13, 2009 1:08 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Jul 13, 2009 12:45 pm
Posts: 1
EDIT: Fixed it; just moved all joombla content up to root.

Quote:
Hi;
I have tried both techniques ( using a redirect on the godaddy redirect manager, and editing .htaccess), and I can't get either to work. In fact, the only change is that now, -since trying the edits posted by ipaulo - my joomla installation is broken...none of the content appears, only the text, and it still only appears at mysite.com/joomla, NOT at mysite.com.

Could anyone offer any hints as to what might have gone wrong?
Thanks,
pete.


Top
  E-mail  
 
Posted: Wed Nov 11, 2009 8:34 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Nov 11, 2009 8:30 am
Posts: 3
I need help too. I copied my /joomla to root and edited the config file to remove the one instance of /joomla which was var $live_site = .../joomla.

The site appears at the root now but all the links on the page still point to /joomla and if I click them I'm taken to the original site.

Can anyone please tell me how to fix this?
Thanks


Top
  E-mail  
 
Posted: Sat Nov 14, 2009 12:20 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Nov 11, 2009 8:30 am
Posts: 3
We figured out that the config file must be saved in ansii for this to work


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

Quick reply

 



Who is online

Users browsing this forum: 2ninerniner2, iikozen and 73 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 © 2000, 2002, 2005, 2007 phpBB Group