WEBVTT 1 00:00:12.315 --> 00:00:16.412 Joomla ships with a special 2 00:00:16.807 --> 00:00:18.807 which, amongst other things, ensures that 3 00:00:18.807 --> 00:00:20.807 your web site URLs do 4 00:00:20.807 --> 00:00:23.639 not include the words "index.php". 5 00:00:24.922 --> 00:00:26.922 If you've already set this up before 6 00:00:26.922 --> 00:00:29.947 you will have done this from the "System - Global Configuration" 7 00:00:30.463 --> 00:00:33.608 and set the "Use URL Rewriting" to 'Yes', 8 00:00:33.608 --> 00:00:35.608 having created that special 9 00:00:35.608 --> 00:00:38.201 .htaccess file on your web server. 10 00:00:39.226 --> 00:00:41.226 If this all worked fine, then you 11 00:00:41.226 --> 00:00:43.753 can happily proceed with the .htaccess 12 00:00:43.803 --> 00:00:45.803 maker part of Admintools. 13 00:00:47.906 --> 00:00:49.906 You will find the .htaccess maker 14 00:00:49.906 --> 00:00:51.906 in the "Security" section. 15 00:00:52.544 --> 00:00:54.735 Remember, if you've already been able 16 00:00:54.764 --> 00:00:57.023 to create without any modification 17 00:00:57.098 --> 00:00:59.098 the .htaccess file, then you 18 00:00:59.098 --> 00:01:01.098 can happily proceed with this section. 19 00:01:01.979 --> 00:01:03.979 However, you should know that any 20 00:01:03.979 --> 00:01:06.533 changes made here have the possibility 21 00:01:06.533 --> 00:01:09.187 of completely blocking your entire website. 22 00:01:09.832 --> 00:01:11.405 So before you proceed, 23 00:01:11.420 --> 00:01:13.980 you should make sure that you have FTP 24 00:01:14.314 --> 00:01:16.314 or some hosting control panel file 25 00:01:16.314 --> 00:01:18.314 manager access to get your 26 00:01:18.314 --> 00:01:20.314 site back online just in 27 00:01:20.314 --> 00:01:22.314 case something goes wrong. 28 00:01:23.870 --> 00:01:25.870 If when you used Joomla's own 29 00:01:25.870 --> 00:01:27.870 .htaccess file you had to make 30 00:01:27.870 --> 00:01:29.870 some edits for it to work on your web host, 31 00:01:30.493 --> 00:01:33.311 you will find those right down the bottom of this file. 32 00:01:36.727 --> 00:01:38.727 The most likely ones that you will have changed 33 00:01:39.418 --> 00:01:41.693 was to set the "follow symlinks" to "Yes" 34 00:01:42.073 --> 00:01:44.073 and the base directory of your site 35 00:01:44.073 --> 00:01:46.795 from slash to some subdirectory. 36 00:01:48.625 --> 00:01:50.625 If you were able to make Joomla's own .htaccess 37 00:01:50.625 --> 00:01:52.823 file work without any changes 38 00:01:53.141 --> 00:01:55.141 you can simply leave these as the default. 39 00:01:57.236 --> 00:01:59.236 If we scroll back to the top 40 00:01:59.236 --> 00:02:01.236 we can see this .htaccess maker 41 00:02:01.236 --> 00:02:03.236 includes various options to 42 00:02:03.236 --> 00:02:05.533 enhance the basic security of your website. 43 00:02:06.664 --> 00:02:08.664 Each one of these is documented 44 00:02:08.664 --> 00:02:10.664 n the Admintools documentation section 45 00:02:10.907 --> 00:02:13.326 of the Akeebabackup.com website. 46 00:02:14.169 --> 00:02:16.734 Remember, defaults are there for a 47 00:02:16.734 --> 00:02:18.734 very good reason and if you don't 48 00:02:18.734 --> 00:02:19.943 know what something is then you 49 00:02:20.005 --> 00:02:22.005 should leave it alone. 50 00:02:23.508 --> 00:02:25.705 In addition to some web site security 51 00:02:26.153 --> 00:02:27.810 there is also some additional server 52 00:02:27.810 --> 00:02:29.810 protection that is provided. 53 00:02:31.040 --> 00:02:33.742 Some components may work in a non-standard 54 00:02:33.742 --> 00:02:35.742 way and you will have to provide exceptions 55 00:02:35.742 --> 00:02:38.279 to allow direct access to their files. 56 00:02:39.228 --> 00:02:41.228 Here we can see three examples 57 00:02:41.729 --> 00:02:44.180 for Akeeba Backup, Admintools, 58 00:02:44.180 --> 00:02:46.180 and the Joomla! update component. 59 00:02:47.091 --> 00:02:49.091 It may be that you will have to add 60 00:02:49.091 --> 00:02:51.091 additional exceptions for some of your 61 00:02:51.091 --> 00:02:53.091 components that are on your website. 62 00:02:55.050 --> 00:02:56.064 In addition 63 00:02:56.656 --> 00:02:58.656 we have the opportunity to create some custom 64 00:02:58.656 --> 00:03:00.656 .htaccess rules. 65 00:03:01.104 --> 00:03:02.771 If you don't know what these are 66 00:03:02.771 --> 00:03:05.590 don't worry about it - it doesn't apply to you. 67 00:03:06.593 --> 00:03:08.593 But, if you've had to create some already 68 00:03:08.593 --> 00:03:10.593 then this is where you will add them. 69 00:03:11.017 --> 00:03:13.017 If you had previously added some code 70 00:03:13.109 --> 00:03:15.109 to change your PHP version 71 00:03:15.165 --> 00:03:17.165 you should copy that code here. 72 00:03:17.432 --> 00:03:19.432 Otherwise your host may default 73 00:03:19.576 --> 00:03:21.576 to a very old version of PHP. 74 00:03:23.121 --> 00:03:25.121 The final section Optimisation 75 00:03:25.121 --> 00:03:27.121 and utility adds some 76 00:03:27.121 --> 00:03:29.121 additional tweaks to your website 77 00:03:29.121 --> 00:03:31.121 and you shouldnt need to change these. 78 00:03:32.814 --> 00:03:34.814 When you are happy with the settings, click 79 00:03:34.814 --> 00:03:37.743 on the big green "Save and Create .htaccess". 80 00:03:39.967 --> 00:03:41.967 Your new .htaccess file has been 81 00:03:41.967 --> 00:03:43.967 written to the disk and a backup 82 00:03:43.967 --> 00:03:45.967 has been taken of the old one. 83 00:03:46.696 --> 00:03:48.696 As this point, you mjust check 84 00:03:48.696 --> 00:03:50.696 to make sure that every part of your 85 00:03:50.696 --> 00:03:53.037 website is working as it did before. 86 00:03:53.858 --> 00:03:55.858 It should, but as mentioned before 87 00:03:55.858 --> 00:03:57.858 it may be necessary 88 00:03:57.858 --> 00:03:58.919 to add some exceptions 89 00:03:59.008 --> 00:04:01.008 for some of your components. 90 00:04:01.547 --> 00:04:03.547 If for some reason your web site is now 91 00:04:03.547 --> 00:04:06.096 completely blank or you have a 500 error, 92 00:04:06.696 --> 00:04:08.696 you should use your ftp program 93 00:04:08.696 --> 00:04:10.696 or your web hosts file manager 94 00:04:11.364 --> 00:04:13.364 to locate the .htaccess file 95 00:04:13.364 --> 00:04:15.364 in the root of your web space. 96 00:04:15.994 --> 00:04:17.994 Rename this file perhaps 97 00:04:17.994 --> 00:04:19.994 to .htacessnew - to prevent 98 00:04:19.994 --> 00:04:22.855 it from working and your web site will reload. 99 00:04:23.804 --> 00:04:25.804 You should then return to Admintools 100 00:04:26.214 --> 00:04:28.214 and the .htaccess maker 101 00:04:28.214 --> 00:04:30.214 and review the settings until 102 00:04:30.214 --> 00:04:32.648 your web site is working perfectly.