Apache and Networks

Actually, There is no need for setup the VirtualHost in your server. Multisite have two way for visiting, base on subpath and subdomain. You choose the subpath, So the server don’t need to do anything. Just make sure your apache server support the rewrite. then add the .htaccess content as the below. It’s for the … Read more

I got ERR_TOO_MANY_REDIRECTS on subdomain

I solved this error. The problem is I’ve used a mix of upper and lower case characters in my WordPress General setting URLs. To fix this condition, I must use lowercase URLs in my WordPress General setting URLs.

Move site root directory on debian

I would suggest following some other toturial instead of one that lacks any explanations as to the “why” like this one. Linode and digitalocean should have good toturial on how to install wordpress, and although they might not be debian specific, the once regarding ubuntu should probably be compatible with debian. To answer the question, … Read more

WordPress V2 REST-API: Endpoints 404?

Try changing your permalinks structure. Within the dashboard go to Settings > Permalinks and select the Post Name structure. When this is done click Save Changes. If Post Name is already selected, it might be worth clicking save changes again to reset the permalinks. Update: Per the comments below, WordPress does not, out of the … Read more

Removed index.php now all pages with Internal Server Error

I just found the answer. Firstly, I look out for an apache error log in /var/log/apache2, on the file error.log.1 I found these last lines: [Sun May 26 22:46:23.694952 2019] [core:alert] [pid 8436] [client ::1:52840] /var/www/html/site2.localhost/public_html/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://site2.localhost/wp-admin/edit.php?post_type=page [Mon … Read more