Skip to content
Tawfiq's Blog
  • Home
  • WordPressExpand
    • WooCommerce
    • Plugins
    • Elementor
    • Divi
    • Avada
    • Speed Optimization
  • SEO
  • Front-endExpand
    • CSS
    • Bootstrap
    • JavaScript
  • Snippets
  • Tips & TricksExpand
    • Linux/Ubuntu
    • Mac OSX
    • Hosting
    • VPS
    • Nginx
  • About Me
Tawfiq's Blog
  • Vestacp-Webmail-Roundcube-Always-Login-Failed
    VPS

    VestaCP – Webmail Roundcube Always shows “Login failed”

    ByTawfiqur Rahman September 7, 2020November 4, 2022

    Problem: Can’t connect to Roundcube webmail using email and password. Using VestaCP on Ubuntu 18.04. I have added a domain with Mail support via VestaCP. Created a mail account from Vesta dashboard. but problem is every time I was trying to login webmail Roundcube it always shows login failed. I was reset the mail password…

    Read More VestaCP – Webmail Roundcube Always shows “Login failed”Continue

  • Hosting | Linux/Ubuntu | Snippets | VPS

    How to create a non-admin (sudo) user on Ubuntu

    ByTawfiqur Rahman September 6, 2020November 4, 2022

    Add a New User Account Create a new user account with the adduser command. Use a strong password for the new user. You can enter values for the user information, or press ENTER to leave those fields blank. Add the User to the Sudo Group Add the new user to the sudo group with usermod. Switch…

    Read More How to create a non-admin (sudo) user on UbuntuContinue

  • Linux/Ubuntu | Snippets | VPS

    This account is currently not available – SSH Login Problem with VestaCP new User

    ByTawfiqur Rahman August 19, 2020November 4, 2022

    I have created a new VestaCP user beside admin to Host all my websites under the new user account. The new user works fine, I can access the website, I can log in vestaCP with the new user account, use FTP, add a new website, but what I cannot do is ssh to the new…

    Read More This account is currently not available – SSH Login Problem with VestaCP new UserContinue

  • Snippets | VPS | Wordpress

    VestaCP – WordPress File and Folder permissions & ownership

    ByTawfiqur Rahman July 26, 2020November 4, 2022

    All files permission need to be reset to 664 and all directories permission needs to reset to 775. And then we need to reset the group to admin. First we will need access to server via SSH Access. Change file permission to 664: Change directory permission to 775: Change file & folder group ownership to…

    Read More VestaCP – WordPress File and Folder permissions & ownershipContinue

  • Hosting | Linux/Ubuntu | Snippets | VPS

    How to check server CPU and memory usage via command line (SSH)

    ByTawfiqur Rahman June 22, 2020November 4, 2022

    Log in to the server via SSH. Execute the command below to run top utility:

    Read More How to check server CPU and memory usage via command line (SSH)Continue

  • How-to-Fix-WordPress-Pages-and-Permalinks-404-Not-Found-Error-on-Nginx-Server
    Linux/Ubuntu | Nginx | VPS | Wordpress

    How to Fix WordPress Pages and Permalinks 404 Not Found Error on Nginx Server

    ByTawfiqur Rahman June 17, 2020November 4, 2022

    Tested with After switched to Nginx from Apache server WordPress started showing 404 or Page not found errors. Homepage loads but all permalinks are 404 when using Nginx & PHP-FPM What causes the Nginx wordpress permalinks 404 error WordPress recommends PHP-FPM as the PHP handler to take advantage of NGINX. Unfortunately, mod_security rules will not work with…

    Read More How to Fix WordPress Pages and Permalinks 404 Not Found Error on Nginx ServerContinue

  • Linux/Ubuntu | Snippets

    Basic Vim Commands to start work with Vim Editor

    ByTawfiqur Rahman June 16, 2020November 4, 2022

    Before we start, let’s know about the Vim modes. Vim has two modes: Command mode When you start Vim, you are placed in Command mode. In the command mode, you can move across the screen, delete text, copy text and give commands to the editor to get things done. Insert mode If you want to write…

    Read More Basic Vim Commands to start work with Vim EditorContinue

  • Wordpress

    WordPress wp-admin CSS has broken and shows 404 on all pages [Fixed]

    ByTawfiqur Rahman April 26, 2020November 4, 2022

    Problem: One day after login the WordPress website I saw the dashboard is unstyled, sitting in the top left corner. all the CSS styles are gone. When I click any wp-admin link like Post, Pages, Appearance, Plugins, etc I get a 404 error page. So I was unable to change anything from WordPress dashboard. Although…

    Read More WordPress wp-admin CSS has broken and shows 404 on all pages [Fixed]Continue

  • Snippets | Wordpress

    How to embed a responsive iframe youtube video in WordPress

    ByTawfiqur Rahman April 17, 2020November 4, 2022

    HTML CSS

    Read More How to embed a responsive iframe youtube video in WordPressContinue

  • Plugin | Snippets | Wordpress

    How to add FacetWP Reset Filters button

    ByTawfiqur Rahman April 17, 2020November 4, 2022

    If you want to add a button to reset your FacetWP filters, you may use the snippet below: Reset FacetWP Facets Reset all facets: FWP.reset(); Or reset one facet: FWP.reset(‘make’); Or reset multiple facets: FWP.reset([‘make’, ‘model’, ‘year’]); Or reset individual values: FWP.reset({ ‘make’: ‘audi’ }); Use onclick for buttons and other HTML elements: <button value=”Reset” onclick=”FWP.reset()” class=”facet-reset”>Reset</button> Don’t know where to write this code?…

    Read More How to add FacetWP Reset Filters buttonContinue

  • Linux/Ubuntu

    How to copy file from remote server to remote server or local machine using SCP

    ByTawfiqur Rahman April 15, 2020November 4, 2022

    SCP (secure copy) is a command-line utility that allows you to securely copy files and directories between two locations. With scp, you can copy a file or directory: SCP copies files between hosts on a network. It uses SSH for data transfer, and uses the same authentication and provides the same security as SSH. SCP will ask for passwords or…

    Read More How to copy file from remote server to remote server or local machine using SCPContinue

  • Wordpress-sidebar-widget-style-1
    CSS | Snippets | Wordpress

    How to style your WordPress Sidebar Widget

    ByTawfiqur Rahman April 12, 2020November 4, 2022

    Widget Title Style – 1 If your width title wrap directly under heading tag like H2, H3, etc like the below screenshot then use .widget .widget-title If the actual text wrap with another inline element like span the below screenshot then you need to add that extra wrapping tag also .widget .widget-title span

    Read More How to style your WordPress Sidebar WidgetContinue

Page navigation

Previous PagePrevious 1 2 3 4 5 6 … 10 Next PageNext

© 2025 Tawfiq's Blog

Scroll to top
  • Home
  • WordPress
    • WooCommerce
    • Plugins
    • Elementor
    • Divi
    • Avada
    • Speed Optimization
  • SEO
  • Front-end
    • CSS
    • Bootstrap
    • JavaScript
  • Snippets
  • Tips & Tricks
    • Linux/Ubuntu
    • Mac OSX
    • Hosting
    • VPS
    • Nginx
  • About Me
Search