WEBVTT 1 00:00:07.623 --> 00:00:09.982 WordPress ships with a special file 2 00:00:09.982 --> 00:00:12.598 which allows you to customise your urls. 3 00:00:13.245 --> 00:00:15.245 If you've already set this up before 4 00:00:15.245 --> 00:00:16.518 you will have done this from the 5 00:00:16.533 --> 00:00:18.533 Settings->Permalinks 6 00:00:18.533 --> 00:00:20.533 and then set the url structure 7 00:00:20.533 --> 00:00:22.533 to one of the options below. 8 00:00:23.015 --> 00:00:24.382 If all this worked fine 9 00:00:24.454 --> 00:00:25.846 then you can happily proceed 10 00:00:25.922 --> 00:00:27.922 with the htaccess maker part 11 00:00:27.922 --> 00:00:28.987 of AdminTools. 12 00:00:29.569 --> 00:00:31.569 You will find the htaccess maker 13 00:00:31.569 --> 00:00:33.569 in the security section. 14 00:00:34.612 --> 00:00:36.289 Remember if you've already been able 15 00:00:36.346 --> 00:00:38.346 to create without any modification 16 00:00:38.360 --> 00:00:40.057 the htaccess file then you can 17 00:00:40.072 --> 00:00:42.072 happily proceed with this section. 18 00:00:42.460 --> 00:00:44.460 However, you should know 19 00:00:44.460 --> 00:00:46.460 that any changes made here have the 20 00:00:46.460 --> 00:00:48.460 possibility of completely blocking 21 00:00:48.460 --> 00:00:50.460 your entire web site 22 00:00:50.460 --> 00:00:52.460 so before you proceed you should make 23 00:00:52.460 --> 00:00:54.460 sure that you have FTP or some other 24 00:00:54.460 --> 00:00:56.460 hosting control panel file manager 25 00:00:56.460 --> 00:00:58.460 access to get your site 26 00:00:58.460 --> 00:01:00.460 back online. Just in case 27 00:01:00.460 --> 00:01:02.460 something goes wrong. 28 00:01:02.460 --> 00:01:04.460 If, when you used WordPress 29 00:01:04.460 --> 00:01:06.460 own htaccess file you had to 30 00:01:06.460 --> 00:01:08.460 make some edits for it to work on your 31 00:01:08.460 --> 00:01:10.460 web host you will find those 32 00:01:10.460 --> 00:01:12.460 right down at the bottom of this file. 33 00:01:13.489 --> 00:01:15.489 The most likely ones that you changed 34 00:01:15.489 --> 00:01:17.489 were to set the follow symlinks 35 00:01:17.489 --> 00:01:19.489 to yes and the base directory 36 00:01:19.489 --> 00:01:21.489 of your site from slash 37 00:01:21.489 --> 00:01:23.489 to some subdirectory. 38 00:01:24.144 --> 00:01:25.374 If you were able to make 39 00:01:25.374 --> 00:01:27.374 WordPress own htaccess file 40 00:01:27.374 --> 00:01:29.374 work without any changes 41 00:01:29.374 --> 00:01:31.374 you can simply leave these as the default. 42 00:01:33.259 --> 00:01:35.259 If we scroll back to the top 43 00:01:35.259 --> 00:01:37.259 we can see this htaccess maker 44 00:01:37.259 --> 00:01:39.259 includes various options 45 00:01:39.259 --> 00:01:40.804 to enhance the basic security 46 00:01:40.806 --> 00:01:42.806 of your web site. 47 00:01:42.806 --> 00:01:44.806 Each one of these is documented 48 00:01:44.806 --> 00:01:46.806 in the AdminTools documentation 49 00:01:46.806 --> 00:01:48.806 section of the akeebabackup.com 50 00:01:48.806 --> 00:01:50.290 web site. 51 00:01:50.590 --> 00:01:52.590 Remember, defaults are there for 52 00:01:52.590 --> 00:01:54.590 a very good reason and if you don't 53 00:01:54.590 --> 00:01:56.590 know what something is then you should leave it alone. 54 00:01:58.489 --> 00:02:00.640 In addition to some web ste security 55 00:02:00.993 --> 00:02:02.993 there is also somme addtional server 56 00:02:02.993 --> 00:02:04.993 protection that is provided. 57 00:02:06.230 --> 00:02:08.230 Some plugins may work in a non-standard 58 00:02:08.230 --> 00:02:10.230 way and you will have to provide 59 00:02:10.230 --> 00:02:12.230 exceptions to allow direct access 60 00:02:12.230 --> 00:02:13.388 to their files. 61 00:02:13.942 --> 00:02:15.942 In addition we have the opportunity 62 00:02:15.942 --> 00:02:18.469 to create some cusyom htaccess rules. 63 00:02:18.913 --> 00:02:20.526 If you don't know what these are 64 00:02:20.603 --> 00:02:21.625 don't worry about it, 65 00:02:21.625 --> 00:02:23.625 it doesn't apply to you. 66 00:02:23.625 --> 00:02:25.625 But if you've had to create some already 67 00:02:25.625 --> 00:02:27.625 then this is where you will add them. 68 00:02:27.625 --> 00:02:29.625 If you had previously added some 69 00:02:29.625 --> 00:02:31.625 code to change your php version 70 00:02:31.625 --> 00:02:34.022 for example, you should copy that code here. 71 00:02:35.194 --> 00:02:37.194 Otherwise your host may default to a very 72 00:02:37.194 --> 00:02:39.194 old version of php. 73 00:02:40.065 --> 00:02:41.103 The final section 74 00:02:41.302 --> 00:02:43.302 Optimisation and Utility 75 00:02:43.302 --> 00:02:45.302 adds some addtional tweaks to your web site 76 00:02:45.302 --> 00:02:47.302 and you shouldn't need to change these. 77 00:02:48.367 --> 00:02:49.914 When yoou are happy with the settings 78 00:02:50.029 --> 00:02:52.455 click on the Save and Create htaccess button. 79 00:02:53.497 --> 00:02:55.497 Your new htaccess file has been written 80 00:02:55.540 --> 00:02:57.540 to the disk and a backup 81 00:02:57.540 --> 00:02:59.540 of the old one has been taken. 82 00:03:00.123 --> 00:03:02.123 At this point you must check to make 83 00:03:02.123 --> 00:03:03.763 sure that every part of your web site 84 00:03:03.778 --> 00:03:05.778 is working as it did before. 85 00:03:06.095 --> 00:03:08.095 It should, but as menitoned before 86 00:03:08.095 --> 00:03:10.095 it may be necessary to add some 87 00:03:10.095 --> 00:03:12.095 edxceptions for some of your plugins. 88 00:03:13.296 --> 00:03:15.296 If for some reason your web site is now 89 00:03:15.303 --> 00:03:16.382 completely blank for you 90 00:03:16.425 --> 00:03:18.425 and you haave a 500 error 91 00:03:18.425 --> 00:03:20.425 you should use your ftp program 92 00:03:20.425 --> 00:03:22.425 or your web hosts file manager 93 00:03:22.425 --> 00:03:24.425 to locate the .htaccess 94 00:03:24.425 --> 00:03:26.425 file in the root of your web space. 95 00:03:27.130 --> 00:03:28.356 Rename this file. 96 00:03:28.411 --> 00:03:30.411 Perhaps to .htaccess.new 97 00:03:30.411 --> 00:03:32.411 to prevent it from working 98 00:03:32.411 --> 00:03:34.411 and your web site will reload. 99 00:03:34.411 --> 00:03:36.411 You should then return to AdminTools 100 00:03:36.411 --> 00:03:38.411 and the htaccess maker and review 101 00:03:38.411 --> 00:03:40.411 the settings until your web site 102 00:03:40.411 --> 00:03:42.411 is working perfectly.