There are times when you are not able to log back in to the VestaCP as of your admin account. However, you still can login using normal user accounts. To fix this, try the following solution: Log in to the server via SSH run the following command: $v-change-user-password USER NEWPASSWORD // where USER is admin…
[Continue reading]WordPress: All Pages Redirect to 404
If the .htaccess configuration is correct it means we haven’t enabled the apache2 rewite mod. To enable, simply run the command below: sudo a2enmod rewrite Then systemctl restart apache2 It works!
[Continue reading]Fixed – Cross-Origin Resource Sharing Error with Origin on Amazon CloudFront
Amazon Cloud Front is one of the AWS features which is popular among other CDNs. Configuring Amazon Cloud Front into WordPress website is easier
[Continue reading]Remove Query Strings from Static Resources to Improve Page Load Using W3 Total Cache Plugin
Go to the General Settings tab, tick on the option “Remove query strings from static resources” then hit Save all settings and you’re done.
[Continue reading]Common .htaccess Configuration for Redirections
Below are the common configurations for any redirection.
[Continue reading]Disable XML-RPC to Prevent Brute Force Attack!
XML-RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism. XML-RPC also refers generically to the use of XML for remote procedure call, independently of the specific protocol. With WordPress XML-RPC support, you can post to your WordPress blog using many popular Weblog Clients. This…
[Continue reading]Creating a Child Theme in WordPress
Child theme has become one of the best practices in inheriting styles from another WordPress theme, mostly for themes you purchased or installed from the WordPress theme directory. This is to prevent overriding to changes you have made once new updates are available. To do so, simply create another folder next to your theme folder. Use…
[Continue reading]Using iMacros to Update WordPress Posts Published Date
Note: Update section as of March 5, 2019 is at the bottom. Google loves fresh contents so do users. If your article’s date shows “Last Year” or older than that, users will think your content is out of date and most of the time they will leave your page immediately. Moreover, if you don’t publish…
[Continue reading]Force HTTP to HTTPS Using 301 Permanently Redirect in .htaccess file
Sometimes installing plugins for every type of purpose you want is wrong. Some small tasks could be done by just a very small tweak. When you have just enabled SSL for your website, some of the URLs to your previous content might be still in HTTP. We can force them to redirect to HTTPs. To…
[Continue reading]Protect WordPress Sites from WP Scan
WP Scan is a tool to scan for vulnerable parts on your WordPress website. It checks various kinds of files and directories to make sure you don’t leave the backdoor behind. WP Scan is capable to: Scan in general Guess WordPress login name and password List all plugins the site is using List what theme…
[Continue reading]