• Login
  • Register
Sunday, July 19, 2026
Generate QR Codes
Free PDF Tools
Free Web Audit 360
TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Tech
No Result
View All Result
TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Tech
No Result
View All Result
TechSansar.com

Giving Joomla its own installation directory

ts by ts
October 17, 2011
in Tutorials, Websites
A A
0
Joomla CMS Logo
Joomla CMS Logo

If you have been using WordPress, then you might have been in love with the pretty feature of WP that allows you to install WordPress in its own installation directory. This comes handy when your site homepage is different from the directory of WP installation as illustrated here. There are many benefits of doing this, the most important being optimized and better management of website files and folders. You might want to implement this feature in Joomla as well. However, sadly Joomla CMS doesn’t come handy with this feature even though we want to keep our site files uncluttered from rest of our hosting directory files.

So, the problem with you is “How do I install Joomla in its own directory apart from the site address?” This means we want Joomla address (URL) (suppose at http://site.com/Joomla) and site addres (URL) (suppose at http://site.com). Let’s find a way out of this – since there are no any official solutions available. We assume you have installed Joomla in its own directory first ie say http://site.com/joomla. As of now visitors have to browse /joomla in the domain to see the site. Now, how do I make my Joomla site my domain home page, ie how toredirect domain to joomla directory.

WordPress Installation Directory Custom
WordPress Installation Directory Custom

The quickest and simplest way to make your Joomla site your domain home page is to redirect your web traffic to the Joomla installation directory. Lets create an index.php file in your /httpdocs folder and enter the following script in the file…

<?php header("Location: http://site.com/joomla"); ?>

Ensure index.php is the only homepage file in your hosting directory (remove index.html or similar files) so that whenever a visitor comes to your site.com index.php takes care of it all to redirect to the joomla site. So, you can now be clear that locating all Joomla files inside public_html or httpdocs folder as a security risk can be controlled (upto some extent).

If this method doesn’t work out for your domain, then you still have an advanced method using .htaccess file manipulation which requires more knowledge. You have to set up a permanent redirection using .htaccess first in the domain root folder, with option to redirect all queries from www or non-www to your domain’s joomla folder. Second, is to work out on .htaccess file that comes with default Joomla installation script. More on this in the links given below.

Related Post

How to reduce background noise during Microsoft Teams or Zoom meetings

Remove add-in services from Outlook, LeadBoxer as an example

Fix for “Sorry, another account from your organization is already signed in on this computer.”

Create Watermark of image using PHP

One can compare and work out now: How to make your WordPress site your default home page of your domain while leaving WordPress in a sub-folder and How to make your joomla site your default home page of your domain while leaving joomla in a sub-folder.

We suggest you to visit the official Joomla documentation site at http://docs.jomla.org/ for advanced guide on this. Some useful articles regarding this are given here:

  1. Security and Performance of Joomla
  2. Redirect your websites domain to www using htaccess file
  3. Redirect root directory to subdirectory in Joomla
  4. Top 10 stupidest Joomla administrator tricks
  5. Joomla questions and answers in Stackoverflow
  6. Upgrading and migrating Joomla the easy way!
Tags: CMSJoomlaSecurityTips & TricksTutorialsWebsiteswordpress
Share212Tweet133Send
Previous Post

Online Payment Options & Processing Companies in Nepal

Next Post

Access your files anywhere, remotely

Related Posts

Reduce background noise during Microsoft Teams or Zoom meetings
How To

How to reduce background noise during Microsoft Teams or Zoom meetings

In this tutorial, we present how to reduce external noise from your microphone during Microsoft Teams and Zoom sessions. We...

by TechSansar Editor
May 20, 2021
Permanently Remove LeadBoxer from Outlook
How To

Remove add-in services from Outlook, LeadBoxer as an example

If you use Outlook email as a part of Microsoft 365 services, you might have noticed that on your desktop...

by TechSansar Editor
January 29, 2021

Recent News

Gen Z Protest Kathmandu 2025

July 4, 2026
The Launch That Moved Syuchatar: YetiCloud.AI and the Night Nepal’s Compute Policy Went Public

The Launch That Moved Syuchatar: YetiCloud.AI and the Night Nepal’s Compute Policy Went Public

July 4, 2026
Illustrating Sovereign AI Compute in Nepal Syuchatar with circuitary

Syuchatar in Regional Context: A Policy Commentary on Sovereign AI Compute

May 31, 2026
Technical explainer on Nepal's announced Sovereign AI Compute Center at Syuchatar. What Budget 2083/84 specified, what it didn't, and the four design questions that decide its outcome.

Nepal’s Sovereign AI Compute Center at Syuchatar: A Technical Explainer

May 30, 2026
Hostinger
  • News
  • Tech
  • Event
Generate free QR Codes with QRSansar

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175.
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS and uses this free PDF tool. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home page
  • Shop peripherals
  • Buy software
  • Featured articles
  • My account

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175.
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS and uses this free PDF tool. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal