How to install WordPress on sub directory in ubuntu 16.4 in same vhost with AngularJS

I have vhost for the main domain www.example.com. and I want to install WordPress in a subdirectory called news (www.example.com/news/). This is the vhost configuration file. server { server_name www.example.com; return 301 $scheme://example.com$request_uri; } server { listen 80; server_name example.com www.example.com; return 301 https://example.com$request_uri; } server { listen 443 ssl; server_name example.com www.example.com; ssl_certificate /etc/ssl/bundle_example.com.crt;…

Details

How to replace the username with the email in the process of registering a user?

In the process of registering a user I need to replace the username by email, for this I have created a plugin that hooks to the onUserBeforeSave event where I try to replace the username in the following way <?php defined( ‘_JEXEC’ ) or die; class plgUserOnusersignon extends JPlugin { protected $app; public function onUserBeforeSave($oldUser,…

Details

Install Intel Wifi AX200

I have a Intel Wifi AX200 as far as I can tell. I have seen more topics about this but I’m not really sure what to do. On this page: https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-io/wireless-networking.html There are the following steps: To install firmware: 1. Copy the files into the distribution-specific firmware directory, /lib/firmware. 2. If the directory doesn’t work,…

Details