Recognition

Posts

5 Posts
  • Published Question

    Nginx regex for WordPress permalink rewrite

    Does an easy method exist to change my WordPress permalinks from site.com/yyyy/mm/post-title to site.com/post-title? I'm imagining a regular expression to drop the /yyyy/mm from the URL, but am not clear how to write ...
    Accepted Answer: You can redirect /yyyy/mm/post-title to /post-title by adding the following line to your nginx server block: nginx rewrite ^/[0-9]{4}/[0-9]{2}/(.*?)/?$ /$1 permanent;
    1 By benjaminchait WordPress CMS Nginx Ubuntu
  • Published Question

    Securing a new LAMP/LEMP server

    I’ve finished configuration on a new LEMP server and wonder: what measures do folks suggest for securing my new VPS? Root login is disabled, I’m using strong passwords and fail2ban is enabled. What else might I want c...
    3 By benjaminchait
  • Published Answer

    Sending email from droplets

    Are you still looking to work with folks interested in integrating DO with SendGrid? <br> <br>I saw this message and wonder if you …
    By benjaminchait
  • Published Answer

    Multiple sites on a single droplet: Apache + nginx

    I’ve had folks suggest I use nginx based upon performance; I’ve previously run a simple LAMP stack with apps like WordPress in the …
    By benjaminchait
  • Published Question

    Multiple sites on a single droplet: Apache + nginx

    Looking for best practices to running multiple sites from a single droplet. I’ve followed instruction to setup a standard LAMP stack but have been suggested to use nginx for managing virtual hosts; which is causing pr...
    6 By benjaminchait