TechSansar
  • Startups
    • Tech Events
      • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
    • QnA
      • Ask a Question
      • नेपाली संस्करण
No Result
View All Result
Social icon element need JNews Essential plugin to be activated.
TechSansar
  • Startups
    • Tech Events
      • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
    • QnA
      • Ask a Question
      • नेपाली संस्करण
No Result
View All Result
TechSansar

Giving Joomla its own installation directory

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

👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021

Session vs Token Authentication in Information Security

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

How to Use iPhone Keylogger on an iPhone Remotely & Effortlessly

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!
Next Post
Remote access of files online between computers

Access your files anywhere, remotely

Comments 3

  1. Pingback: List of Nepali social networking websites
  2. Pingback: List of Nepali social networking websites
  3. Pingback: List of Nepali social networking websites
No Result
View All Result

Recent Posts

  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021
  • Brave Search is here – offers independent privacy search #SearchEngine #BraveSearch
  • Windows 11 – what we know so far about Microsoft’s Windows 11?
  • How to reduce background noise during Microsoft Teams or Zoom meetings
  • What is VoLTE & how to activate VoLTE for Nepal Telecom mobile SIM
  • ICT Initiatives announced during National ICT Day 2078 #NationalICTDay
  • Nagarik App is out of beta, introduces Nagarik profile QR scanner & more features
  • Samsung’s Flagship Phones Prices in Nepal
  • 6 simple yet effect ways to speed up your Windows 10 computer

Recent Comments

  • Dewlance Hosting on Top Websites in Nepal
  • Suman Singh on Basic Core ICT Indicators
  • Dinesh Guragai on Huawei Authorised Dealers, Distributors & Service Centers in Kathmandu, Nepal
  • Anup Thapa on All Nepali Fonts – download & install in Windows, Mac & Ubuntu
  • Dhiraj singh on Authorized distributors & Service center of Dell laptops in Nepal

Listen to TechSansar Podcast

Categories

Recently published

  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021
  • Brave Search is here – offers independent privacy search #SearchEngine #BraveSearch
  • Windows 11 – what we know so far about Microsoft’s Windows 11?
  • How to reduce background noise during Microsoft Teams or Zoom meetings
No Result
View All Result
Call us: +1 234 JEG THEME
No Result
View All Result
  • QnA Platform
  • Gadgets
  • Tech News
  • Tips & Tricks
  • About us
  • ICT in Nepal
  • Market

With ❤ from Nepal