Thursday, November 26, 2020
Home Dynamic Skills How To Change WordPress website’s Address

How To Change WordPress website’s Address [URL]

A Complete Guide - Four Different Ways

If you want to change or update your WordPress website’s default address, domain name, WordPress Address or URL have any reason.

You can change it by following Four different methods without breaking the website’s links. No matter if you are just want to change your website’s address or trying to repair or resolve a problem.

WordPress Default URL's
Settings >> General

Note:- Always keep a backup of your website before you proceed further.

Method No. 1

Change your Website’s and WordPress address “URL” in MySQL databases which is PhpMyAdmin

PhpMyAdmin

  • Access cPanel
  • Search for PhpMyAdmin. (If you have more then one Website then you should be very clear which one is the database you have to edit, or you can check Databases one by one related to your site you want to edit)
  • Click on database and find PhpMyAdmin wp_options Table.
  • Now you have to edit.

PhpMyAdmin URL settings

Method No. 2

You can change your site’s URL by Editing your wp-config.php file. Access your Website’s main Directory either with FTP Client or cPanel.

  • Find the wp-config.php file.
  • open the wp-config.php file and find the lines like:
define('WP_HOME','http://www.example.com);
define('WP_SITEURL','http://www.example.com');

Replace the above addresses “example.com” to yours before you save the changes to your file.

What Is XML-RPC and How to Stop DDoS Attacks on your WordPress website

Method 3

You can change your Website’s URL by editing your active Theme’s “functions.php”. This is not recommended for beginners so I will not show the details about this method.  it can possibly be complicated and different according to individual conditions. If you make any mistake when editing function.php files, your site can be down and you will need a professional to fix it.

Info:- Function.php file is located in http://www.example.com/wp-content/themes/your-active-theme/function.php. You can edit this file in cPanel or with a theme editor plugin.

Method 4

you can easily change your Website’s URLs with the help of a plugin named Velvet Blues Update URLs. Although there are lots of plugins you can find for this purpose but this one is very stable allows you to change URLs on your entire WordPress installation.

Velvet Blues Update URLs

This plugin is also very helpful if you are going to transferring from one domain to another domain. Because you can change all your image attachment URLs easily and quickly.

Leave a Reply

- Advertisment -

Most Popular

Tesla recalls about 9,500 Model X and Y vehicles due to manufacturing problems

Tesla has issued recall orders for 9,537 of its autos within the US, together with 9,136 Model Xs from 2016 and 401 Model Ys...

Top 10 Latest Technology Trends for 2021

Today, technology is progressing rapidly, allowing for quicker change and development, causing growth to increase until it eventually becomes exponential. However, not only are...

Top 6 Best OLED TV 2020: Amazing TVs from LG, Sony, and Philips

In today's TV market, the finest OLED TVs are titans. Why wouldn't you want best OLED TV with vibrant, true-to-life colors, outstanding contrast and...

iPhone 12 Mini: a powerful, compact, and reasonably priced

The iPhone 12 mini is the most powerful and compact phone sold by Apple in years. Including the iPad mini and the all-new HomePod...