phpmyadmin 404 error Digital ocean ubuntu setup

phpmyadmin 404 error Digital ocean ubuntu setup

Wanted to document a problem that is so trivial that I think would be a very common problem that most people would have due to a terrible sin of UX. So to help people who faced the same problem I did hope this would help when searching for a fix for this problem. Here I was trying to install phpmyadmin in Digitalocean on a droplet I had wordpress install as a oneclick option during the creation of the droplet. Therefore the settings are pretty standard. Installation process pretty standard as well. This was the guide i used https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04 btw the guide’s restart command didn’t work for me , the restart command that work was : /etc/init.d/apache2 restart 1 /etc/init.d/apache2 restart Now then I face a 404 error page when i tried to log in to my domainname/phpmyadmin. After an hour of research and on the verge of giving up I found the solution here: https://askubuntu.com/questions/306094/phpmyadmin-throws-a-404-on-opening All because i forgot to press spacebar to select apache2 and pressed “enter” which proceeded without selecting it ….. UX SIN. Anyway the fix is easy fully uninstall phpmyadmin and go through the process again . The article above suggests a reconfiguration which i tried but ran into some problems. So a fresh reinstall is a better option. sudo apt-get purge phpmyadmin 1 sudo apt-get purge phpmyadmin Once i was done I wanted to disable it. Also checkout here on a more secure way to use phpmyadmin and other options https://stackoverflow.com/questions/3795993/how-can-i-disable-the-phpmyadmin-login-page You can disable phpMyAdmin by disabling the module configuration. <span class="pln">sudo a2disconf phpmyadmin</span><span class="pun">.</span><span class="pln">conf sudo </span><span class="pun">/</span><span class="pln">etc</span><span class="pun">/</span><span class="pln">init</span><span class="pun">.</span><span class="pln">d</span><span...
How to score 100/100 on Google Speed Insights and GTMetrix in WordPress

How to score 100/100 on Google Speed Insights and GTMetrix in WordPress

Need Help? Contact me at sky@skychew.com Requirements: Have FTP access using Filezilla or Filemanager access from your CPanel. Recommended : Have access to your DNS manager, this could be in your Domain name company (eg: godaddy.com or namecheap.com) Achieving 100/100 on google pagespeed is not necessary and will cause some problems. It is recommended that anything above 75 is good enough. Some side effects you might see includes your site loading but shows an ugly cssless site for 1 second and then your site loads completely and everything looks normal again. This will give your users the perception that something is wrong with your site. Backup first Before you begin make sure you have backup your site. Some of this changes are not reversible. I usually prefer server side backups. If you are using digital ocean you are in luck because backing up is just one click , “Creating a snapshot” . Also good to have is just have your .htaccess backed up and make sure you have ftp access to delete the plugin that is causing the issue if it happens. Clear cache or view in incognito mode A lot of times we don’t see changes until we clear our cache to get fresh new files from our servers. To do there is 2 ways incognito mode or hard reset a specific window better than clearing cache for your entire chrome. Do not refresh in Chrome Incognito mode (Firefox has something called private window) but instead just close the window and open a new one because chrome uses incognito cache and cookie for that specific window only. To hard reset...