Webmon port7/30/2023 ![]() ![]() Configure via the main WordPress Apache config file not redirecting at all, redirecting to the wrong place/URL, etc), error messages you might hit within your browser or from the commandline when restarting Apache and so on. Please explicitly note any incorrect behaviour (e.g. Also please detail exactly what it's doing. If you've done all those things and it still doesn't work (and you wish to proceed with htaccess config), please provide as much detail as possible on what Apache config changes you've made (and where). Look for the line "AllowOverride All" within the block.įinally, ensure that you have restarted Apache after enabling modules and/or making any Apache (or PHP) config changes. They should be by default in the TurnKey WordPress server, but worth double checking. Firstly ensure that you have the Rewrite module enabled: a2enmod rewriteĪlso double check that htaccess files are enabled in the main WordPress Apache config file (/etc/apache2/sites-available/nf). So, if you wish to proceed with an htaccess file, then there are a few things worth checking. Having said that, on face value your config looks ok, although I'm certainly no expert on Apache config (and as I noted above, by necessity, htaccess file config tends to be much more convoluted and complex). It's also nice to have all the config in one place IMO. One of the reasons why I much prefer using the main Apache config files is because I find it tends to be much more intuitive and less complex. I would further argue that that is especially the case for site wide config such as you are trying to achieve. using shared hosting - the primary purpose of htaccess files AFAIK), I would argue that using the relevant main Apache conf file is always preferable. Unless you do not have access to the main Apache config (e.g. Whilst it should certainly be possible within the htaccess file, on TurnKey, as a general rule I recommend using the relevant Apache config file. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |