WordPress

Fix [an error occurred while processing this directive] in WordPress

After uploading/deploying the WordPress project to the server, WordPress throws an error [an error occurred while processing this directive]. This occures due to folder/directory permission. The ideal permissions for direcotires is 755 (drwxr-xr-x) & files  644 (-rw-r–r–). If your server is shared server, please contact hosting manager. If you have Linux SSH access to the server then you can change the permission to directories & files with 2 commands. Please use the following commands to change the permissions to your projects all directories & files at once. To change all the directories to 755 (drwxr-xr-x):

Note: Please change the “/opt/lampp/htdocs” path with your projects root path. To change all the files to 644 (-rw-r–r–):

Note: Please change the “/opt/lampp/htdocs” path with your …

Read More
WordPress

How to Migrate a WP Engine site to any hosting environment (Normal WordPress)

Today in this article we will see How you can migrate your WP Engine site to any hosting environment or you can say to a normal WordPress site. To migrate your WP Engine site you need to follow these steps: Create a backup in the WP Engine User Portal First of all, you need to create the latest backup of your WP Engine site. To create the backup you need to login to WP Engine User Portal. Please follow the steps to create the backup: Login to WP Engine User Portal. Select Your Website. Click Backup Points. Select the environment which you want to download. Select the backup that you wish to download and then click on Download ZIP. Or if …

Read More
WordPress

How to Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress

Today in this article I will show you how to fix “Briefly unavailable for scheduled maintenance” error in WordPress. To move ahead you should know little about this error. Why does the Maintenance error happen? When you go to update a plugin or WordPress auto-updates itself/plugin. WordPress puts itself in a temporary maintenance mode so that no activity takes place while WordPress updating itself. And in some cases, third-party plugins throws a fatal error (due to memory/permission/execution time issue) or WordPress take much time to update files and that throws execution time. This fatal error stops/halt updating process. This error mostly happens on shared hosting due to limited permission. How to fix Maintenance error in WordPress You can fix “Briefly …

Read More

How to create your blog website in WordPress

Today I am going to show you, how you can create your blogging/business website quickly in WordPress. WordPress is very powerful CMS and is in-demand these days. WordPress has lots of free plugins that gives power to website admin by which admin can manage his website easily whether he is technical or not. Before going to proceed I’ll give a brief on WordPress. WordPress WordPress is an online, free and open-source CMS (Content Management System) based on PHP and MySQL. To set up your website you need to install WordPress on your server. To install WordPress on the server you can download WordPress setup from its official website. WordPress Setup Steps Download WordPress From Official Website: https://wordpress.org/download/ OR You can click https://wordpress.org/latest.zip …

Read More
WordPress-Mail.jpg

How to send mail in wordpress?

You can send emails from WordPress function that is:

wp_mail Parameters $to (string|array) (Required) Array or comma-separated list of email addresses to send message. $subject (string) (Required) Email subject $message (string) (Required) Message contents $headers (string|array) (Optional) Additional headers. Default value: ” $attachments (string|array) (Optional) Files to attach. Default value: array()

     

Read More
Wordpress: How to use live images on localhost?

WordPress: How to use live images on localhost?

In this article, I’ll explain ‘How to use live images on localhost?’ when you are working on WordPress site locally. Sometimes you don’t have much time/space to download the huge files on the local system. And without these files, your site designs may glitch. To clone your site locally please installed the latest database of the live site on your local system. Use live images on localhost The best way to do it, is to use URL Rewrites via .htaccess. What is a .htaccess file? .htaccess is a configuration file used to alter the default behavior of an Apache web server software. Most common usage is to redirect the HTTP request to some URLs based on some conditions. For example, …

Read More
Wordpress Rename default label Posts

WordPress: Rename default label “Posts” to “News” OR something else

Sometime you may need to change the default label “Posts”  with your required word, like Portfolio, Articles, News, etc. WordPress is a very powerful CMS that gives you the ability to play with it. Rename default label “Posts” – In Admin Left Menu Here, I am using wordpress hook (add_action) to change “Posts” to “News”. Add these functions in your current theme’s functions.php file.

With above function you will see only left menu labels are changed. Rename default label “Posts” Object To change Post object labels you need to update $wp_post_types object and that function should be call on init. i.e.

If you use only above function, You will see the it changed new lable “News” but “Tags” …

Read More