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...

Bulk compress and optimize image for web

Optimize Images Bulk image compression Mac and Windows (Before Upload) If you have some high res images and wants to compress them before upload photoshop is one of the more powerful tool to do your compression. However to do it in bulk quickly I have found a better tool xnConvert. It does compression and resize. Image compression vs file compression Firstly do not get confuse with image compression and files compression they are different types of process altogether. Images compression (Lossy) uses algorithms to determine how best to reduce data/pixels to maintain the same viewing effect on a screen. Where else a file compression finds ways to reduce file size by looking at repetitive data stream and grouping them together and it works for any types of files. After a file is compressed they are commonly save as file types  zip, tar, or gzip depending on their compression methods. Compression criteria There are many criteria to reduce image file size. I typically work with these 3: 1 – Size Size is tricky for images you want to keep at full width or full height and responsive, I typically just use the ratio of 1920×1200 for maximum prettiness and 1280×1024 for most cases and 800×600 for maximum file save (like a mobile intensive site). Anything else with a consistent size you can just use the chrome plugin MeasureIt  to measure the size you need in pixels. 2 – DPI We wont go into explaining Dots Per Inches (DPI) you can google and read up on that. Simply put , it is the amount of Pixels Per Inch (PPI) which is more commonly known as...
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...

Free Landing page plugins review for WordPress

Wanted a pretty landing page for wordpress that is separate from the templates. So that I can have the landing page up and edit the rest of the site while keeping the landing page separate. Having measureable metrics for the landing page would be great too. So I found 3 that I liked and started using them. Here is the comparison result/summary. You can read the details below. Ultimate Landing Page Free by Umar Bajwa Free but designs not so appealing have to pay $27 for ultimate vesion Landing pages builder by Wishpond Free for only the first 200 contacts Nice design templates and powerful editor Unbounce Landing pages ( I went with option because I have used them before and love their implementation)  free but will have unbounce logo. (free account is tucked away on a corner in the site) popular landing page builder nice design templates and powerful editor       Ultimate landing page. Didnt like the free landing page Template that was included and to get all their other templates which i didn’t know what it looked like was $27.        ...