TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Wellness
      • Lifestyle
      • Culture
      • Tech
      • Sport
No Result
View All Result
TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Wellness
      • Lifestyle
      • Culture
      • Tech
      • Sport
No Result
View All Result
TechSansar.com

Giving Joomla its own installation directory

14 years ago
in Tutorials, Websites
Reading Time: 9 mins read
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).

Related Post

Creating custom run commands to speed up access in Windows 7 & beyond

[How to] Type Nepali Unicode easily on your PC or Web – Google Input Tools Review

[How to] Update & recover multiple iOS devices offline

Centralized site management for all of your WordPress websites now possible via Jetpack

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.

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

Related Posts

Rename shortcut file to easy short form
Tips & Tricks

Creating custom run commands to speed up access in Windows 7 & beyond

Have you ever felt you wanted to access a file in Windows and it’s buried deep within various tiers of...

by ts
November 1, 2015
Type in Nepali Unicode Google Input Tools
Tutorials

[How to] Type Nepali Unicode easily on your PC or Web – Google Input Tools Review

Most of us Nepali dream of expressing our views and words in Nepali Language i.e. Devanagari script both online and...

by ts
July 8, 2015

Recent News

Highlights of Nepal Digital Budget 2082-83

Nepal Digital Budget 2082/83: AI, Startups, 5G, and the Tech Roadmap Ahead

May 30, 2025
Screenshot from a desktop computer showing existing services offered by Nagarik App; image by TechSansar.com

Nagarik App Integrates National Identity Card: A Leap Towards Comprehensive E-Governance

January 24, 2025
All .np domain owners are required to reverify their domain names.

The Great Reverification: What Nepal’s .np Domain Owners Need to Know

January 5, 2025
Microsoft Forms Sync Update

Microsoft Forms Sync Update: Adapting to Microsoft’s New Approach for Excel Integration

January 3, 2025
Free PDFTools
Free PDFTools

Nice one!

Categories

  • Applications
  • Computing
  • Culture
  • Entertainment
  • Environment
  • Event
  • Featured
  • How To
  • Internetworking
  • Lifestyle
  • Nepali IT
  • News
  • Social Networking
  • Software
  • Sport
  • Tech
  • Tech News
  • Telecom
  • Travel
  • Uncategorized
  • Wellness
  • News
  • Lifestyle
  • Entertainment
  • Tech
  • Sport
  • Culture
  • Wellness
  • Event
  • Travel
  • Environment

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 in Singapore and uses this beautiful WordPress theme. 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?

Retrieve your password

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

Log In
No Result
View All Result
  • Home
  • Shop peripherals
  • Buy softwares
  • Top websites
  • Contact us

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 in Singapore and uses this beautiful WordPress theme. 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