Archive

How to update php in wordpress

 Why we need to update PHP version:

  PHP plays an important role in your wordpress. you should see the latest updates of PHP. If your PHP version is latest then your web sites work efficient. Now the current version of PHP is 7.4.  If your PHP version is latest then your site is faster than old version. If you want that your site become safe from hackers. then you should update PHP version because it has the latest security features. and you should know that how to update php in wordpress.

There are a lots of benefits if your website use latest version of PHP. Latest version help your website on high rank position. If you use latest version then your site is secure from hacker and you can secure your data and cost. Some time you forget to update PHP version. So you should make a backup for your site otherwise you face many problems.

How to update php in wordpress

For update the PHP version you should follow these steps:

  • Login to your wordpress account.
  • Click on dashboard.

wordpress dashboard

  • After click on dashboard scroll down the page. you can see that a warning massage is show in box PHP update required.

php update required

  • For update the php version you want to login your cpanel.
  • In cpanel go to software section and click on multiPHP manager. After click on it you this this type of window.

php diffrent versions

  • you can see that in your cpanel in domain part behind the every domain 7.1 version of PHP is install.
  • Now you are going to update your PHP version.
  • you can see that on arrow position PHP versions are available.
  • you choose latest version and click on apply.

latest php version

  • Now your PHP version is change.

change version

  • Now check out in your wordpress dashboard error is drop or not.

no error

  • Our php version is update successful.

There is another method to check the health of your website:

  • Login to wordpress and move cursor on plugin chooses add new plugin.
  • Search a plugin health check and troubleshooting. install this plugin and apply on your website.
  • This plugin tells you about the health of your website as well as recommended improvement.

health care

Conclusion:

In this article we talk about the security of your website. How to improve the security using PHP latest version. And how to update PHP in wordpress using cpanel and convert on wordpress.

You can also read the following articles:

How To Zip A Directory In Unix

Php Max_execution_time

Contact Form 7 Not Sending Emails

The “Contact Us” form is one of the most important parts of a website building irrespective of the platform used for building the website. It let the visitors contact website owners and put their queries.

As we know, WordPress is the largest platform for building websites. Just like that, contact form 7 is the best plugin that is used to create the contact us page on the sites developed using WordPress.

Sometimes, people facing problems like not receiving emails that visitors sent by using the contact us form. Newbies mostly face this issue because they don’t have the exact idea of how it works at its best.

Therefore, visitors can’t contact website owners because they receive the alert of not sending the email. Sometimes they receive a successful delivery message, but they never reply because they never received the email.
Let’s discuss this matter in detail and find out the possible reasons and its solution.

Why Contact Form 7 Is Not Sending Emails?

In case you have an issue with contact form 7 not working. Then, you have to analyze a couple of basic reasons before going in-depth, i.e., the WordPress server and the hosting server. If both these are working properly, then there is something with other things.

There are two main possible reasons for Contact Form 7 Not Sending Emails and stopped working:

1. Hosting Server Doesn’t Support PHP Mail Function

Contact form 7 uses the PHP mail function for sending or receiving emails. Some hosting servers don’t support the PHP mail function; that’s why first of all, you have to check the availability of the PHP mail function.

If this is the reason, do contact your hosting provider and ask the representative to solve the issue.

2. Email Spoofing

It is the most common problem faced by people, but due to the lack of information about the plugin’s settings. It happens because many people, especially newbies, use the default settings of the plugin.
As visitors send you an email through the contact us form, you receive an email from “contact form 7” about receiving email.

Contact form 7 sends notifications to the website owner by using the email address of the contacting person. The email is marked as spoofing because the sender’s email address does not belong to the site domain, but it is sent from your site.

Email spoofing is similar to spam emails, and it goes to the junk folder instead of receiving these in the inbox. You can easily get out of this problem by manipulating the settings and mark such email as not spoofing. Then you can receive notifications from the contacting person’s email.

Solution Of Contact Form 7 Stopped Working (Email Spoofing)
The only solution to the WordPress contact form not working is changing from settings.

As we mentioned earlier, email spoofing happens due to the use of default settings of contact form 7, and it doesn’t allow email masking. Even you are receiving emails after using default settings, then email spoofing can happen any time in the future.

Follow the below-mentioned steps to solve the issue:

Step # 1,
First of all, login to cPanel of your web hosting and look for the email tab in the dashboard. Click on the Email tab, and you can see a new window there, and you can see the “create” button.
You need to create a new email address with your website’s domain name because you have to use it as a “From” email in the contact form. It important to select the domain name of the website is selected while creating the email address.

Step # 2,
After creating the new email address, go to plugin (contact form 7) settings in the dashboard of WordPress. There you can see a “From” field in the mail tab. Provide the new email address that you created just now in the field.
Use additional header settings as Reply-To: [your-email], and hit the save button to save the final version.
You can send a test mail using the contact us page, you receive it in your inbox, and it stops marked emails as a spoof.

Conclusion
Contact form 7 is the best plugin that is widely used by websites for contact with their visitors. It works great but setting up the contact us form is somehow tricky.

But if you follow the guidelines that we discussed above, you can contact your visitors at the right time.

Read about how to setup a cron job

How to move wordpress site to the new domain

We are covering the complete about how to move wordpress site to the new domain name. Read the complete article it will help you to move your domain from one domain to another domain name.

Are you looking for an easy and simple way to move your WordPress site to a new domain? Do you think moving a website to a new domain is a challenging task? 

My answer would be a No. Even if you don’t know anything technical about websites, you can easily do this if you follow the steps given below. I will take you through different steps by which you can easily migrate your WordPress website to a new domain.

Let’s get right into the topic. Try doing it with me, so you don’t miss any step.

Migrating the WordPress Website Manually

Here’s how you can quickly move your website to another domain.

Step#1: Visit Your Website

Firstly, visit your website to see that the website is working perfectly fine. If it works very well, then get ready for shifting your website.

Step#2: Backup your Website and Export Database

To move a website, you have to create a backup of your web files and the database. Download all the files in your computer and copy them in another to keep as another backup.

You can also backup your website by using a Duplicator Plugin.

In this tool, you will find a Create new option. The plugin will start scanning your website once you click the Next button. It will require just a few minutes to thoroughly scan your website.

Once it’s done, click on the build button, and you will see an option from where you can easily download the backup of your website. You also have to checkmark the yes box for the tool to create a backup.

You can also Export your website’s database from phpMyAdmin and save that SQL-file in another folder as a backup that you will import later in the new domain.

Login in your phpMyAdmin, select the website database and click export to download it onto your computer.

Some hosting providers provide a backup option for your website that you can easily access at any point. You can also create a backup through File Manager or FTP and download it to your computer.

Step#3: Buy a New Domain name

You will need a new domain where you will transfer these backup files. You can set up the new domain easily in a similar way to the previous domain.

If your hosting provider also has an option to buy a domain name, you can save up some time. Still, if you buy the domain from anyone else, you will have to point the Nameservers to the new location.

Step#4: Upload files and Import Database to New Domain

Now login to your new Domain via FTP and upload all the backup files to the new domain. If your backup was made through the file manager, then you will need to unzip the files.

You can also import your Database files to your phpMyAdmin of the New Domain so you can transfer the website entirely to the new name.

Step#5: Locate wp_options

When you are inside the phpMyAdmin of your new website, Locate the tab named wp_options, where you have to make some changes to migrate the website to a new domain completely.

Step#6: Change Siteurl And Home

Once you have located the wp_options tab now, you have to follow the following steps to update the siteurl and home, after which your website will be live again on the new domain and Url.

  • Find the siteurl and home tabs. These are usually on the first two lines.
  • For siteurl, replace the old domain name with the new domain name under the option_value column.
  • Press enter and repeat the same for the home tab.

Step#7: Change Database Connection details

Now you are almost done. Only one last step, and then you can visit your site from the new domain.

You have to update the login details in WordPress while setting up a new domain. Follow the below-mentioned seven steps for updating the details.

  • Log in to your website’s control panel.
  • Select option of the File Manager under the files and security tab
  • Now you have to locate the wp-config.php. You can locate it in the same place where you installed WordPress.
  • Now you have to locate the login details carefully. You can usually find it on the 20th line or so.
  • Now in the fields under, update your website’s login details, and you are almost done. Just a few little details and your website will be back to the way it was.

Step#8: Check your Website on New Domain

Now you are all set. Firstly, make your old website offline, so it does not interfere.

Now open your website from the new Url and check if everything is working completely fine. There are a few fixes that you have to do manually to run your website correctly.

Step#9: Check for Few Fixes

You will have to create some 301 Redirects and change the different pages’ permalinks to work correctly.

You might also see that some images are not loading correctly. In that case, you need to download Better Search Replace plugin through the WordPress dashboard. After installing it, you can go into tools and write the old domain name and the new domain name.

Check the box, Run in dry and let it do the magic for you. It will replace the links from the last website to the new domain.

Step#10: Check Your Website Again

Now recheck your website for any possible bugs. If you don’t see any, you have successfully migrated your WordPress website to the new domain.

Conclusion

So that’s all from my side.

I tried my best to explain every step in detail so not to face any problems while performing the migration. If you have followed the steps carefully, you can successfully transfer your website to a new domain name.

If you still have any query in mind, don’t hesitate to contact our support center to answer your query.

What type of information is contained in a dns mx record?

Mail exchange record are the dns record system which is deliver the email at your address. In other word mx record tells the user. Which email servers are accept the incoming mails and where sent emails are rout. If your mail exchange record is not pointed to the correct location then you didn’t get emails. There are many arzhost customer host their websites and mail server at arzhost. When you add email address then all emails related to dns record automatic created. you must know that what type of information is contained in a dns mx record?

what type of information is contained in a dns mx record?

Example of MX record: MX record contains two parts:

  1. Priority
  2. Domain name

           0 mail.arzhost.com

  • In this example ‘0’ shows the priority.
  • Lowest value is your first priority.
  • arzhost.com is your mail server which you connect. Mail server is depending upon which company is hosting your emails.
  • If you have more than one servers and all have same priority then it choose one random.

If your name server is host by arz host then they control your mx record. If arz host is not hosting your name server then which company host the name sever. They can change your dns and mx record. If you want to use regular arzhost mail service using a domain non-arzhost name server. Then you can setup your custom dns mail record. At your outside dns provider using the mail dns information from your arzhost panel.

 

 

why is my upload speed so slow?

There are many reasons that’s make our internet speed slow. Sometime when we get connections from internet service provider (ISP). When we get high speed connection and we see that our upload speed is too slow then download speed. When a business man want to share heavy files to his clients. Files takes time to transfer and the company lost his valuable time. When a gamer play online games speed of internet should be very good. If upload speed is slow then he face many lags. When we upload files and send data anywhere we see that data transfer is very slow. There are many reasons for speed and people search for “why is my upload speed so slow“.

Reasons why is my upload speed so slow

  • Old hardware
  • Use of poor cables
  • Weak WI-FI security
  • Too many users
  • Problem from ISP (Internet Service Provider)
  • Data restrictions from ISP (Internet Service Provider)
  • Bad browser

Port and hardware problems:

When we have an 8MB connection and our cable or port support only 3MB upload speed. Then our internet speed will be slow. Sometime our router or DSL will be older that should be upgrade. Sometime our ISP’S have old hardware infrastructure. That will makes slow upload speed.

Wifi Security:

If WiFi password is not protected. Then unauthorized person can use Wi-Fi that makes the speed slow.

Bunch of devices:

Sometime too many devices connect to the internet that makes the internet speed slow. You can login to your router and check the status of connected devices.

How to increase upload speed?

If you have a Wi-Fi connection then use Ethernet cable it will boost your internet speed. Upgrade your hardware infrastructure and check your wires. They should be in good condition. Update your hardware drivers and software’s that will maximize your upload speed. Avoid to share your internet password to anyone. Use a good search engine and avoid slow browsers.

If you want to upload your heavy data or videos then don’t upload on peak time.

See more:

How To Check If The Site Is Down?

How to Check If the Site is Down?

There are different reasons why your website may be down. Here I am going to discuss some troubles that may occur and how we can check if the site is down.

Website Down Reasons

Here are the 5 most important reasons why your site is down. These are:

  • DDoS attack.
  • DNS connection problem
  • CMS complications
  • Unreliable web host
  • Poor coding

If you want to confirm your account, then first you need to login to your panel. If your account is currently perched due to failure to pay, then a large red suspended notice appears at the top of the screen. To repair this, click the “make payment” button to pay which re-enables your account. A computerized email is delivered to you once the payment has been made and then the system robotically re-enabled your account.

The DNS for your site must then proliferate again online which may take a number of hours and after that your site resolves again. There is a high risk of data failure. To avoid data hammering makes sure that you already backup your data.

If you make repeated login attempts in a short period of time, then it can be seen as an attempt to hack the user. And in order of security issues, the system may slab the user in order to prevent the potential malevolent activities.

How to check page is down

If the searching page is down, then the first step you require to take is to verify that if the site is really down at all locations or it is just you who are facing such a problem.

How to check site is not found

If it is only you who are facing a problem and your computer is unable to view it or the site is not found, then it might be because of the reason that you recently modernized your DNS.

Check the site to see if the new DNS is competent in your location. Proxy sites permit you to find a way around the network issues and analyze the site from different locations.

If the proxy site loads your website, then it confirms that this site is resolving online. But if you still cannot view it, then you need to try flushing DNS and clearing your cache.

You may also like: How To Duplicate A Page In WordPress

But if your account has not been poised and your registration is current but still you cannot get in touch with your domain even with proxy sites then you need to check to make sure that your computer server is up. You can do this by pinging your domain or by running a traceroute to your server. But if you still cannot accomplish the trace route or ping the server, then you need to make contact with the support.

If your traceroute shows numerous hops times out, then please get in touch with your ISP for support. Make sure that the files for your site are in the acceptable directory.

How to login via SSH or FTP

If they are assigned to the incorrect user or they are in the faculty directory, then it may avoid the site from loading. Login via SSH or FTP and make sure that the files of the site are in the correct directory.

And if you have accomplished any type of DNS changes freshly then your DNS may take more time to proliferate online. This includes the following changes:

  • Adding host
  • Changing name servers
  • Adding a custom DNS
  • Changing hosting

Mostly, the changes revise online within one day or in 6 hours although nameservers can acquire up to 72 hours that means 3 days. You still have 30 days to replenish the registration if your domain has been expired.

And if your site is using a lot of resources, your processes are mechanically killed which may be the reason for your site to go down.

Site down checker:

Site down checker is available that tells you if your site is down. This will give you a fast report and complete information about rank code response.

What will happen when a website shuts down?

When your website shuts down, your followers and audience would not be able to enter the content on your website any longer and your website may still be positioning on the Google search but after a few days, it will vanish from the Google search rank.

How can we check if a website is down?

Here are the quick step-by-step points to check if a website is down.

  • Check the Internet connection
  • Check your web host
  • Check your email
  • Check your DNS
  • Check your Registrar
  • Check your CMS
  • Call your web host
  • Call your developer

These are the reasons if your site is not found.

Sometimes, the issue occurs in your internet connection not in your website so you also need to check the internet connection if there is any problem related to it.

Picture by: unsplash – Andre Hunter

How to Duplicate a Page in WordPress

How to duplicate a page in WordPress is indeed an important need which developers need in most of the scenarios? The actual page display on your website looks a bit dull. Right away you would like to change it with a new style, however on the one hand you would like to keep the reliability of the written content (you never know later on the old content is required). So the best method is to copy / paste and save all of the articles in the draft. Regrettably, this step does not ‘move’ or does not ‘include’ SEO optimization, page layouts, featured pictures, and other associated data.

How to clone a page in WordPress

How to clone a website next to a blog or a pre-existing page could be another option to generate a few tweaks in one copy so that you can compare it to the earlier version. At least many reasons exist and explanations why you will at some point duplicate WordPress posts or pages!

Challenges in WordPress duplicate page

The appearance of the specific page that has no changes at all is certainly boring in some of the situations. But there are challenges that must be faced when you want to replace the look of the current page with a new one, which is to keep the content in accordance with SEO rules and not change other settings that have been adjusted.

Usually website owners will use the manual method to do this. Unfortunately, the manual method can change the configuration and some other settings that are not compatible with the old page. Even so, WordPress users don’t need to worry, because there are several ways to duplicate WordPress page that you can easily use to copy all WordPress content, configuration, and appearance.

Duplicate a page in WordPress with easy steps that we are going to mention below.

How to duplicate WordPress Pages in 2 minutes?

Before trying the several ways to duplicate the WordPress post or page, you need to login to the WordPress dashboard using the admin account. Normally the WordPress websites can have the same dashboard url, like example.com/wp-admin

Here are a number of ways to make a duplicate WordPress page and to copy content or pages. You don’t need to use all of them, you can just use one method.

How can we Duplicate a WordPress Page Website with free Duplicate Post Plugin?

The Duplicate Post plugin you can use to clone pages or posts on WordPress. When using this plugin, you can set any part you want to copy, such as Title, Date, Status, Slug, Excerpt, Content, Featured Image, Template, Format, Author, Password, and others.

Copy WordPress Pages

You would have an option to control the privacy against this plugin for example, you can choose which users can copy WordPress pages?

wordpress duplicate page

Step 1:

Install Duplicate Post plugin which is created by Enrico Battocchi and this plugin has over 1 million active installations that shows the credibility for this site.

duplicate post

Step 2:

After the plugin is active, access ” Pages -> All Pages “. This plugin will bring up the Clone and New Draft options on WordPress posts or pages you will see.

duplicate a page in wordpress

Explanation:

  • Clone can be used to copy chosen posts or pages.
  • New Draft is utilized to copy a post and then open it for modifying.

Duplicate a WordPress Page with Duplicate Page and Post Plugin

If you want to copy page in WordPress in a very short time, then this plugin will make your life easy. The Duplicate Page and Post plugin works to make copies of pages or posts. This plugin only provides one function option, which is to make a copy of a page or post using just one click and then save it in draft form.

This plugin is not hard and features less than other plugins, however, it is sufficient to be used to duplicate pages or posts: make clone pages, posts, and particular custom posts. Here is how to utilize the Duplicate Page and Post plugin.

Simply, you will install it from WordPress directory and then activate it.

duplicate page wordpress plugin

As soon as the plugin is active, see ” Post -> All Posts “. This plugin provides the Duplicate option over a WordPress post or page.

Duplicate the WordPress Posts or Pages easily with Post Duplicator

Post Duplicator WordPress Plugin

The Post Duplicator plugin will help the users to duplicate the posts and pages without making many changes in settings. Same feature we have observed in the Duplicate post plugin. The main difference, this plugin directly produces a copy file that is then published without needing to go through the editing procedure first. So when you click replicate, a copy of the post will show up directly on the website.

Deploy and Activate Plugin

copy wordpress posts

After the plugin is active, go to ” Post -> All Posts “. There you will see the Duplicate Post option to copy a post or page.

how to clone a page in wordpress

Summary

Hopefully that with this guide, it is possible to duplicate WordPress posts as well as pages. Just stick to the steps we have defined so that the duplication procedure operates smoothly. Be sure to also employ the plugins carefully that we have pointed out. Pick the method and way which suits your requirements.

Because when you try to install a new plugin in an existing live site then sometimes the plugin may disturb the wp files and we may see database errors. So, it is a wise decision to arrange a full back-up before installing and activating the duplicate page WordPress plugin.

This was the easiest guide on “how to duplicate a page in WordPress”. After reading it carefully you do not need to buy service to duplicate the WordPress page in your website.

How to Clear DNS Cache On Mac

DNS (Domain Name System) is a temporary memory used by the operating systems and web browsers to store the information of sites visited recently. This information is saved by using the IP address of the website so that it can load in low time on the next visit.

Sometimes this information got corrupted due to malware attack or any other reason. Therefore, the next time user tries to visit any site, instead of referring to the right side, it takes the site on some other site.

For example, if you visit www.example.com before and later on, after the information got corrupted. You enter the www.example.com in the address bar; it will take to some other malicious site that is merged by the virus.

Therefore, it is essential to flush the DNS cache to avoid the problem and reach to the right site. Some users even don’t know how to clear the DNS cache. It is a simple process, and anyone can do it without any technical knowledge.

In this article, we will discuss to flush the DNS cache on Mac.

How To Flush DNS Cache On Mac

It is easy to flush the DNS cache on Mac, but it is essential to know about the Mac OS and the version of OS. Every OS system and even versions use different command lines to flush the memory.

If you don’t know about the OS or version of OS, then follow the below-mentioned steps to find it:

  1. Click on the apple icon on the left top corner of Mac
  2. Click on “About this Mac”

It displays the information about Mac OS and the version of OS as well.

After getting information about OS and version, follow the simple below mentioned steps.

Step # 1,

Select Go in the menu bar on the desktop of Mac

Step # 2,

Select Utilities in the list

Step # 3,

Run the command (Every OS and version have separate command, we will mention all the commands in the below section)

Step # 4,

Click on return, enter the password, and click on return again.

It will clear the memory.

Following are the commands to run for different OS and versions:

For Sierra (10.12), macOS El Capitan (10.11), Mojave (10.14), High Sierra (10.13), and Catalina (10.15)

sudo killall -HUP mDNSResponder

For macOS Yosemite (10.10)

sudo discoveryutil udnsflushcaches

For Mountain Lion (10.8), macOS Lion (10.7), and Mavericks (10.9)

sudo killall -HUP mDNSResponder

For macOS Snow Leopard (10.6)

sudo dscacheutil -flushcache

For macOS Leopard (10.5)

sudo lookupd -flushcache

For Tiger (10.4)

lookupd -flushcache

After you clear the DNS cache on Mac, you can hear the voice note that confirms that memory is cleared now.

How To Clear DNS Cache On Linux?

The process of clear the DNS cache is similar to that of Mac. You can follow the below-mentioned steps to complete the process.

Clear DNS Cache in Ubuntu

Linux also uses a terminal command line to clear the DNS cache.

Step # 1,

Click on activities on the left top corner of the desktop

Step # 2,

A search bar appears after clicking on activities. Type “terminal” in the search bar and hit the enter button to launch the program.

Step # 3,

Enter the following command and press enter

sudo systemd-resolve –flushcaches

Step # 4,

Enter the password and hit the finish button to execute the command.

The above process clears the DNS cache.

Other Distributions of Clear DNS Cache

However, there are other distributions are also available on Linux besides Ubuntu; you can use the following command to clear the DNS cache.

Just open the command-line interface, as mentioned above, and enter the following line.

sudo /etc/init.d/dns-clean start

After the execution of the command, you can make the DNS cache clear.

Conclusion

The flushing of DNS cache is essential to resolve the data corruption problems. It is a simple process, and you can quickly execute the process even if you are new to troubleshooting.

However, it simple to complete the process, but you need to know about the OS and version to complete the process. Because, correct use of command depends on the OS and version, if you use the wrong command, you will face the same problem.

Hopefully, you like the above discussion and get a lot of benefit from it.

Find and Replace URL In WordPress Database

Sometimes webmaster needs to change WordPress URL in the database. It could be due to either migration to another domain name, moving to another subdirectory, or use of SSL certificate.

Find and Replace URL

It is easy for small websites to do it manually, but it is quite difficult for large sites. It is a time-consuming process if you do it manually, and there is a risk of missing URLs. Webmasters have to find and replace hundreds of URLs in the database tables as well as in SQL database tables.

However, there are few other things that webmasters must have to consider while changing or updating the old URLs.

For example, if the images on the website don’t use CDN, the old links of images added automatically in the posts with a new or updated URL. As a result, the links of images are shown as broken links when a visitor visits the webpage.

Ways To Find And Replace URL In WordPress Database

There are different ways that you can use to find and replace the URL in the WordPress database either manually or by using a plugin. We will discuss all the possible methods in the below section. Just take a look at them.

Search and Replace in phpMyAdmin

It is easy to find and replace the URL by using phpMyAdmin. But it is somehow tricky, and you need to know little about coding. If you don’t know about coding, just follow the below-mentioned steps to change the URL in different tables of the database.

For this purpose, log in to your Cpanel and go to phpMyAdmin. There you can find different tables on the right sidebar, and you have to make changes for different tables one by one.

WP Options

wp_options: In this tab, you can find the WordPress configuration table that consists of a site URL for home and fields. You can use the following code to find and update the URL.

UPDATE wp_options SET option_value = replace(option_value, ‘old_domain.com’, ‘new_domain.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;

WP Posts

wp_posts: This table consists of content of all posts in the post_content field. It is important to update URL table because if you have internal links in your posts, you have to replace the old URLs. Otherwise, it will be shown as broken links.

UPDATE wp_posts SET post_content = replace(post_content, ‘old_domain.com’, ‘new_domain.com’);

WP Postmeta

wp_postmeta: In this table, you can find all the attributes and custom fields along with advanced custom fields (ACF). If there are any permalinks in custom fields, you must have to replace them with the new one by using the following code.

UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘old_domain.com’, ‘new_domain.com’);

WP Comments

wp_comments: This table comprises of post comments, and this table may include some permalinks to other posts of your website. Therefore, don’t forget to update this table and use the following code line to update it.

UPDATE wp_comments SET comment_content = replace(comment_content , ‘old_domain.com’, ‘new_domain.com’);

Change the links of images

There are various images that you use in the posts of your websites. As we mentioned above, it is important to change the links of images to avoid broken link errors in the posts. The following are the few types of images URL that you have to change.

Use the below-mentioned coding line for images used inside the posts.

UPDATE wp_posts SET post_content = replace(post_content, ‘Existing URL’, ‘New URL’);

If you have images that are linked with old link manager, then use the following code.

UPDATE wp_links SET link_image = replace(link_image, ‘Existing URL’,’New URL’);

Use the following code for images used as attachments.

UPDATE wp_posts SET guid = replace(guid, ‘Existing URL’,’New URL’);

WordPress Plugins Find and Replace URL

Various WordPress plugins are available to facilitate the webmasters. These plugins are useful to find and replace URL in WordPress database. Plugins are also beneficial to avoid the risk of missing any URL from replacement. In the below section, we will discuss the two most popular and top-rated plugins.

Search & Replace Plugin

Search & Replace is an open-source WordPress plugin designed by a group of professional plugin developers. It helps the webmasters to search and replace anything in the database of WordPress website. For example, you can search and replace the URL, text, etc. by using this plugin.

The primary purpose of this plugin is to avoid mistakes that usually practiced by the users while updating the URL. It also offers the users to replace the URL or domain quickly and even complete the entire migration process in a few minutes.

Moreover, this plugin provides complete support for serialized data that is helpful for both developers and WordPress users. It allows the users to update the entire URLs with a single search and replace command.

The easy to use enables the users to make it one of the most popular plugins to update the URL. You can easily use this plugin from the following steps:

Follow the following steps to do it via WordPress plugin:

Step # 1: Go to plugins in the WordPress dashboard.

wordpress dashboard

Step # 2: Click add new button

add new plugin in wordpress

Step # 3: Find “Search add and replace URL” plugin

wordpress search and replace plugin

Step # 4: After installation and activation go to Tools > Search & Replace

search and replace

Step # 5: Provide the new URL that you want to replace with the old one.

change wordpress url

Here you can complete the entire process with a single command or can select the specific tables where you want to change.

You can change the entire domain in the database with a single command, as mentioned in the image.

search and replace domain

You can change the URL in the specific tables under the search and replace the tab, as mentioned in the image.

search and replace url under specific table

Migrate WordPress Database: (WP Migrate DB)

WP Migrate DB is another WordPress search and replace plugin widely used by WordPress users to migrate and export the database in an easy, simple, and quick way. It offers many useful features like backup before any changes, provides support for command line, and many more.

The best part of this plugin is that it offers support for targeted database migration. By using this feature, users can select that include or exclude the tables for migration purposes. It also provides support to push and pull different files of plugins and themes as well as media libraries from one site to another.

It is easy to handle the migration of serialized data and arrays and allow the users to complete the entire process without any chances of errors.

The following are the steps following the below-mentioned steps to install and complete the changing process.

Step # 1: Go to plugins in the WordPress dashboard.

Step # 2: Click add new button

Step # 3: Search for WP Migrate DB

wordpress db migrate

Step # 4: Adjust the setting as described in the image and export button at the bottom to start the changing process.

wordpress database mirgation - migrate DB

Important Note:

If you select to update the data manually, make sure that you understand the consequences that you may have to face if it goes wrong. Therefore, you must make sure to take the backup of the database so that you can reverse the process in case of error.

Conclusion

Every webmaster or website owner may need to change the URL due to any reason. Therefore, it is essential to understand the basics of migration to handle the situation securely.

Hopefully, you enjoy the above discussions and get a lot of benefits.

See More

Redirect HTTP To HTTPS htaccess WordPress

What Is Incoming Mail Server Hostname

What Is Incoming Mail Server Hostname

In this era of technology, everyone uses an email address for different purposes.  But even they don’t know much about the functionality of Email. It is essential to know about it because sometimes people face problems and needs troubleshooting to solve those issues.

In this article, we let you know what incoming mail server is and how it works. It helps you to know the basics of Email and solve the issues if any you ever face.

What Does Incoming Mail Server Mean?

Every email address is linked with the incoming mail server, and every Email can be connected with one mail server only. For receiving the incoming emails from any other email address, it needs an email client. It is a type of program that is used to receive, read, reply, forward, or deletes the email messages.

You can use either dedicated email client like outlook or can use a web browser to get access to various web-based email accounts like Gmail, Hotmail, etc.

When some send you a message on your email address, it remains stored on the incoming mail server. Once you download the Email, it automatically deleted from there, and you can’t download it again.

Incoming Mail Server

You must have to configure the correct settings of email client for downloading the Email. Usually, an incoming mail server uses any of the protocols. HTTP, POP3, and IMAP are the main protocols that incoming mail server uses.

People use different incoming mail servers to get access to the email address for sending and receiving emails. Various email service providers like Gmail, Yahoo, and Hotmail, etc. have their mail servers.

Many large organizations also have the separate mail servers that they use to communicate within the organizations and for store emails. They can also use the same server to communicate with customers from around the world.

How To Find Incoming Mail Server?

For setting up mail in different email clients like thunderbird, outlook, and mobile app, you are required to collect information about mail server. This information includes the address of the incoming mail server, type of mail server, and the port uses by software to run.

However, it is difficult to collect such information. Still, if you know that from where you locate it, you can configure the setup easily.

Configure The Mail Setup For Hotmail, Yahoo, And iCloud

For setting up the mail server, you have to decide the protocol that you want to use. Hotmail and yahoo offer support for POP3 and IMAP protocols while the iCloud only supports SMTP.

Before selecting the protocol, keep in mind that if you want to receive and check the mail in one place, then choose POP3. For example, in the mobile app or on the computer, and you are not capable of getting access to mail using browsers. But if you want to get access to multiple places, then select IMAP.

If you want to go with the POP3 protocol, then login to an email address using a web browser and select the options from the menu, select the option of connecting with devices using POP3 and save the settings.

Go to your mail software or app and type the mail server addresses and port in the software as mentioned below:

  • Hotmail/Outlook POP3: pop-mail.outlook.com port 995
  • Hotmail/Outlook IMAP: imap-mail.outlook.com port 993
  • Yahoo! POP3: pop.mail.yahoo.com port 995
  • Yahoo! IMAP: imap.mail.yahoo.com port 993
  • iCloud IMAP: imap.mail.me.com port 993

After the implementation of the above mention process, you can use email clients in mobile or computer for Hotmail, Yahoo, or iCloud.

Configure The Mail Setup Gmail

The setup process remains almost the same with a minor difference. Gmail offers support for IMAP and POP protocols.

However, we recommend using IMAP because it allows the users to get access to Email by using a browser along with mail clients. But if you want to use the POP protocol, it will not allow you to read the message once pop up on the client on mobile or computer.

For setup the client-server, login to Gmail using a web browser and go to settings. Enable any of the protocols that you want to go with from the forwarding option and save the settings.

Type the port and name of the incoming mail server in the fields of email software in the below mention format:

For IMAP Protocol:

imap.gmail.com and port 993

For POP Protocol:

pop.gmail.com and port 995

If you want to set up the client-server for the Email provided by an internet provider or for the server used in the organization, the process remains the same. But you have to give the information as per the protocol used by that server.

Conclusion

Using the client-server offers a lot of easiness for the reading and responding to the Email, but the setup process is somehow complicated. By reading the above article, you can easily complete the setup process. It also helps you to troubleshoot the problem if any occurs.

See More

How to redirect http to https in WordPress or .htaccess

70%OFF

Smart Sale

Hurry Up! Offer ends in
days 02 01 02
hrs 03 02 03
mins 23 22 23
secs 31 30 31
Buy Now