htaccess file correct it needs to have the correct permission to read/write to it, to change the permission level use the following command: In order for WordPress to utilise the.Next, exit the nano editor and save the file, using CTRL + X and then Y to save.htaccess with the following to make sure WordPress can interpret it and re-write your s to the new /%postname%/ structure: So we’ll need to run this command to create one: sudo touch. If you find you that you’re s are not working you’ll usually find that you haven’t got a. Now we’ll check for the presence of the.Now, you’ll need to change your directory to where your WordPress is configured:.To enable the pretty s you need to have the mod_rewrite module installed on your Apache server, to do this type the following command:Ĭhecking for the presence of the.Firstly you’ll need to connect to your Apache server by using your preferred ssh program in my case this would be Terminal on the Mac OS X, with the following command:.htacess file working correctly and fixing your pretty /%postname%/ issues: Connecting to your Apache server If you’ve found that you want to change your structure to post name but find that it keeps giving you the 404 Not Found error when you enable it it’s usually down to the. By default the standard structure on WordPress is “Plain” giving you the rather ugly /?p=123 link.
0 Comments
Leave a Reply. |