| |

VestaCP – WordPress File and Folder permissions & ownership

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…

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

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

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…

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

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…

| |

How to add FacetWP Reset Filters button

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?…

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

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…

| |

[Solved] CSS Clip-path using SVG Polygons doesn’t work well on Safari

Problem: Revolution Slider SVG Scroll Down button is not showing on Safari at Desktop, iPad, and iPhone browser. My Revolution Slider SVG Polygon Scroll Down button is working great in Firefox and Chrome but when it’s come to Safari it completely has gone. See the screenshot Solution: How to fix CSS Clip-path Polygon on Safari…

| |

WordPress: How to make parent menu item clickable when they have a submenu

Problem: Parent menu item not clickable when submenu enabled Some WordPress theme by default disables parent menu links when they have dropdown menu items. If you have a submenu enabled the parent menu item is no longer clickable to link through to the page, it just opens the submenu. We’ll make the parent menu items…