How-To Categories
Recent How-To's
News Feed E-mail
Login
| How to Lose the Splash Page |
|
|
|
| Written by Cory | |
| Thursday, 05 October 2006 | |
|
Splash pages (those annoying pages with some sort of fancy graphic or flash intro that say "Click to Enter" or "Skip Intro") are bad. I could spend a whole article trying to convince you of this fact, but I think this article does a better job of it than I could ever do. One of the most common mistakes made by Joomla! designers is to assume that just because you loaded Joomla! in a directory called "http://www.yourdomain.com/joomla" or "http://www.yourdomain.com/cms" or "http://www.yourdomain.com/home" rather than your root web directory, you are stuck needing to create a splash or intro page in your root directory to point your users to the real site. Nothing could be futher from the truth. As a webmaster, you have a couple of options for pointing users to your content without the need for a splash page. I will try to cover those options in this tutorial. Option 1: Move Your InstallationIn my opinion, this is the best option. Why would you not want to move your installation if your root directory is just pointing to a subdirectory? Simply move your Joomla! installation from your subdirectory to your root directory. This is a relatively simple process, which I will cover here. Step 1: Move all of your files to your root web directory.Move the files from /path/to/your/web/root/subdirectory to /path/to/your/web/root. There are a number of ways to do this, but it is a pretty straight-forward process using an FTP client application. If you need further explanation, please don't hesitate to ask. Step 2: Modify your Joomla! 'configuration.php' File.You will need to modify some variables in your 'configuration.php' file. Here is a list of the settings you need to change:
Option 2: Change your Server Settings to Make the Subdirectory the New Web Root DirectoryThis is the second-best option, but it is probably not available to you if you are using shared hosting. Also, I only recommend it for advanced users or network administrators. I will not take time in this article to explain how to do it, but just know that this is an option if you have root access to your server. Option 3: Automatic Re-Direct With .htaccessI do not recommend this option, but if you have no other choice for reasons outside of your control, then use a .htaccess file to automatically re-direct visitors to your subdirectory. Here is a link to a site that explains how to do this. Let's Sum it All UpSplash pages are bad. Moving your Joomla! installation to your root web directory is good. If you have any questions or comments, please feel free to post them.
Set as favorite
Bookmark
Email This
Hits: 9255 Trackback(0)
Comments (19)
![]()
mozami.net: ... http://www.mozami.net
Thanks cory. Very useful indeed!
1 report abuse
vote down
vote up
December 31, 2006
Votes: +0
Christina Freeman: ... http://www.leniche.com
I made these changes to pull my entire site out of the sub-directory: /joomla.
It seemed to work fine, but when I clicked on a menu item, I got a 500 internal server error "The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, This e-mail address is being protected from spam bots, you need JavaScript enabled to view it and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/1.3.33 Server at leniche.com Port 80" I think it might be because I have ARTIO JoomSEF installed. I don't know! It doesn't make sense because even when I click on the link it navigates me to the actual URL without the subdirectory info... Please help!! THank you, Christina Freeman 2 report abuse
vote down
vote up
February 23, 2007
Votes: +0
Justin: ...
I have had the same issue as Christina following the steps for option 1. Can you please advise Cory.
3 report abuse
vote down
vote up
March 28, 2007
Votes: +0
Justin: ...
Cory, disregard my previous comment, I had the path for the menu items hard coded. I changed this and all worked find.
Your article explained it perfectly. Thanks. 4 report abuse
vote down
vote up
March 28, 2007
Votes: +0
Chris J: ... http://www.idea-haven.com
Is there no way to have the index.php - and maybe a few other files - for joomla in the root (so that it is the first thing that comes up) and have the rest of the joomla files in a subdirectory (like joomla)?
I find my site feels very disorganized with joomla all mashed into the root directory. This is the one thing I find really annoying about joomla so if there is a way around it, I'd be grateful to hear about it! 5 report abuse
vote down
vote up
August 07, 2007
Votes: +0
Pamela: ...
Is it possible to install joomla in the same location but differrent folder?
7 report abuse
vote down
vote up
September 03, 2007
Votes: +0
Peculiar One: ...
Hi Cory,
Love your site! It's so helpful to have clearly written instructions in plain, non-technical English when you are learning new systems, programs and what have you. I especially appreciate your method of delivering bite-size portions of data. I find them to be much more palatable than long, drawn out, complex diatribes one can read and read and read until one's eyes cross and still come away lacking a solid understanding! My reason for commenting, however, isn't to swell your head with wonderful compliments--I just wanted to let you know that you have a typo in the "Option 1" paragraph. I believe you want the second sentence to read, 'if your root directory is...' Thanks and keep up the great work (and feel free to delete this then)! 9 report abuse
vote down
vote up
September 27, 2007
Votes: +0
jeremy: ... http://francoandzippy.com
Just used your help to move a developing site from one directory to another. Slick as Elvis' coiffure! Thanks fella.
11 report abuse
vote down
vote up
October 17, 2007
Votes: +0
Doug: ...
Hi there,
I'm a newbie to Joomla, so excuse the question, but this is the first site in two days searching I found that has an explanation to my problem......Well done! I have put Joomla in a subdirectory,,www.mydomain.com/joom. So your Option ONElooks like a winner for me. But I'm slighty confused by the Step 1 annotation. ...Move the files from /path/to/your/web/root/subdirectory to /path/to/your/web/root. ....... So with FTP this would me moving the "Joom" folder in its entirety to "root" folder of www.mydomain.com? Then these (* $mosConfig_absolute_path, * $mosConfig_cachepath * $mosConfig_live_sitevariable ) should point to thats same folder right? Also I am using an online website builder, which has its own folder at root level. So I guess any content I have gets wiped? less important. Thanks Doug 13 report abuse
vote down
vote up
November 22, 2007
Votes: +0
Justin F.: ... http://hohchorus.org
Do these directions apply for moving a Joomla 1.5 installation?
I'm looking in the configuration.php for the 1.5 install I just finished & I'm unable to find any of these in configuration.php: * $mosConfig_absolute_path * $mosConfig_cachepath * $mosConfig_live_site Are these settings kept somewhere else in 1.5? 15 report abuse
vote down
vote up
January 03, 2008
Votes: +0
Shiv: ...
Hi
I am trying to learn how to run a reseller business in hosting, along with joomla. I have set up my clients test sites as subdomains. When they approve for publishing, I want to move the site to a different domain on the same server. Some queries on movement and redirection: 1. Is there any way I can do the re-direction thing for ALL the pages, so that the old test links arent seen in the address bar? For example: if my clint site is www.client1.mysite.com and the new domain registered is www.client1.com, do I have to do a complete fresh install, including all extensions? Or can I get away with a redirect - for ALL pages - as mentioned above? Or... can I do something else like copy only the files - not the databases - or something like that? My site will have quite a bit of data later, which is one reason for me to make the right choice. 2. Ona related query.....are the MySql databases within the joomla installation directories?? or are they located somewhere else?? Thanks for your time Regards Shiv 17 report abuse
vote down
vote up
February 20, 2008
Votes: +0
Nic: ...
Hi
Great site! I did option one about six months back, and all went fine, except for Google which still indexed the old pages in the sub-directory. I didn't want to lose these hits so I've left the site there in the subdirectory, but as I've continued to develop the main site, this has got more out of date. What I'd love to know is if there was some way I could do a redirect for all the pages in the subdirectory to the core.. ie something I could put in the template for the subdirectory site which will redirect mysite.com/subdirectory/content/view/28/2/ (or whatever) into mysite.com/content/view/28/2/ irrespective of which page it is. Thanks Nic 18 report abuse
vote down
vote up
May 01, 2008
Votes: +0 Write comment
|
| < Prev | Next > |
|---|








I believe you want the second sentence to read, 'if your root directory is...'
