How to Change Your WordPress Site URLs (Step by Step)

[agentsw ua=’pc’]

Do you want to change your WordPress site URLs? 

Whether you’re moving from HTTP to HTTPs, changing your domain name, migrating from local server to live site, or transferring to a subdomain, you’ll need to know how to change your WordPress site URL.

In this article, we’ll show you how to easily change your WordPress site URLs, step by step.

how to change your wordpress site urls og

Contents

Why Change WordPress Site URLs?

There are many reasons why you might need or want to change your WordPress URLs. For example:

Aside from that, you may need to change the WordPress address settings if you’re seeing the too many redirects error in WordPress or when troubleshooting another WordPress error.

What’s the Difference Between WordPress Address vs Site Address?

When changing your WordPress URL, you’ll need to update two separate settings, the ‘WordPress Address’ and ‘Site Address’.

This can be confusing for many beginners because they don’t know the difference between the two settings.

Your WordPress Address (URL) is the address where your WordPress files and folders are stored including your admin pages, media files, plugins, themes, and more.

Your Site Address (URL) in WordPress is the public facing part of your website. This is what your visitors will type into their web browsers to reach your website.

For majority of users, the WordPress Address and Site Address URL will be the exact same.

In some cases, large companies may host their WordPress sites on a different server because their corporate website has many other applications, and they want to isolate where each app is hosted to improve WordPress security.

But for most users, these two WordPress URLs need to stay the same.

With that said, let’s take a look at how to easily change WordPress site URLs. Simply use the quick links below to jump straight to the method you want to use. 

Method 1. Change WordPress Site URLs from Admin Area

This method is the easiest and most beginner friendly. If you have access to your WordPress admin panel, then we recommend using this method.

SImply login to your WordPress dashboard and go to Settings » General.

Here, you can change your WordPress site URLs in the ‘WordPress Address’ and ‘Site Address’ boxes.

Change WordPress address and site address

For most websites, these will be the same URL.

After that, click the ‘Save Changes’ button to save your URL changes.

Now, you can visit your website to make sure that everything is working OK.

Method 2. Change WordPress Site URLs Using functions.php File

If you cannot access your WordPress admin panel for any reason, then you’ll need to use this method.

First, you need to connect to your WordPress site using an FTP client. For more details, see our guide on how to use FTP to upload files to WordPress.

Then, you need to locate your WordPress theme folder. For most users this will be something like /wp-content/themes/your-theme-folder/.

Locate functions.php file via FTP

In this folder, you need to open your functions.php file and edit it using your preferred text editor, like Notepad or TextEdit.

Then, you need to add the following code to the bottom of the file.

update_option( 'siteurl', 'https://example.com' );
update_option( 'home', 'https://example.com' );

Don’t forget to replace ‘https://example.com’ with your own site URLs. You can now save your changes and upload the file back to your server using FTP.

Now, you can visit your website to see if everything is back to normal.

The advantage of this method is that it updates the site URLs in the database. WordPress updates the database for site URLs every time your functions.php file is loaded.

Once your website is working properly, you can remove the two lines of code from your WordPress functions.php file.

Method 3. Change WordPress Site URLs Using wp-config.php File

If you’re not sure which WordPress theme you need to edit, or can’t find your functions.php file, then you can use this method.

You’ll need to add your website URLs to your WordPress configuration file called wp-config.php. This file is located in the root folder of your website and contains important WordPress settings.

To change this file you’ll need to connect to your website using an FTP client. For more details, see our guide on how to use FTP to upload files to WordPress.

Then, you need to locate the wp-config.php file, which can normally be found in the root folder for your domain.

Locate wp-config.php file via FTP

After that, you need to add the following code just above the line that says ‘That’s all, stop editing! Happy publishing’.

define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );

Don’t forget to replace ‘https://example.com’ with your own domain name.

You can now save your changes and upload them back to your server. After that, visit your website to make sure that everything is working fine.

Method 4. Change WordPress Site URLs in the Database Using phpMyAdmin

Another way to update WordPress site URLs is by changing them directly in your WordPress database.

You can do this directly from your WordPress hosting account dashboard.

Before you do this, we recommend making a WordPress database backup. This is really important and will help you undo any WordPress database changes if anything does wrong.

For more details, see our guide on how to make a WordPress database backup.

After that, you need to login to your web hosting account dashboard and click on the ‘phpMyAdmin’ icon in the ‘Databases’ section.

Note: The steps might be slightly different depending on your hosting provider. However, all cPanel hosting providers like Bluehost give you the ability to edit database settings.

Click on phpMyAdmin

This will automatically launch the phpMyAdmin application, which gives you a web-based interface to edit MySQL databases. To learn more, see our beginner’s guide to WordPress database management with phpMyAdmin.

First, you need to click on your WordPress database in the left-hand column. This will display tables inside your WordPress database.

Then, click on the ‘wp_options’ column option.

Click on database and wp-options

By default the database prefix is ‘wp_’ but since you can change your WordPress database prefix it might be something different.

Now, you’ll see rows inside the options table. You need to locate the ‘option_name’ column where ‘siteurl’ and ‘home’ will be listed.

Edit options name

First, click on the pencil ‘Edit’ icon to the left of each row and change the ‘option_value’ field to your new site URL.

You may need to scroll down the options table to find the ‘home’ option name.

After that, click the ‘Go’ button in the bottom right corner to save your database changes. 

Change option name URL

Now, you can visit your website to make sure everything is working as it should. 

Method 5. Change WordPress Site URLS Using AIOSEO Plugin

All of the methods above will help you change the URL of an existing WordPress installation. This method works a little different, since you’ll be changing your current WordPress URL to point to a new URL/WordPress installation. 

This is common when you’re moving your WordPress website to a new domain name and don’t want to lose rankings or experience downtime.

The best way to do this is with the AIOSEO plugin. It’s the best WordPress SEO plugin in the market used by over 3 million websites.

AIOSEO

Note: There is a free version of the plugin available, but the AIOSEO Pro version is the only way to redirect your entire website, posts, pages, and more, without losing your SEO rankings. 

It has a built in redirection manager lets you create entire website redirects in a couple of clicks.

AIOSEO change website URL

Redirecting your website this way preserves the links from sites that were linking to your old domain, prevents 404 errors, and creates a better experience for your visitors. 

To do this the right way you’ll need to create a duplicate of your existing site, move it to a new domain, and then redirect your old site to your new site.

For more details, see our guide on how to update URLs when moving your WordPress website.

If you want to redirect single posts and pages in WordPress, then see our beginner’s guide to creating 301 redirects in WordPress.

Changing WordPress URLs Frequently Asked Questions (FAQs)

Over the years we have helped hundreds of thousands of users create a WordPress website, start a blog, or start an online store.

In this time, we’ve answered many different questions related to changing WordPress URLs. Below are some of the most frequently asked questions we receive.

Why are my WordPress Address and Site Address fields greyed out?

If the WordPress address (URL) is greyed out on the settings page of your admin area, then it means the URLs are hard coded in the wp-config.php file.

WordPress URL greyed out

To change your WordPress URL, you’ll need to follow the fourth method above to edit the wp-config.php file and change the URL accordingly.

How to recover WordPress after URL address change in settings?

Sometimes non-techy users can accidentally change the WordPress URL and Site Address settings from the WordPress admin area.

To recover from that, you’ll have to follow our guide above to change the WordPress URLs back using the functions.php, wp-config.php, or the database method.

Is there a WordPress change URL plugin that can bulk update URLs in all blog posts, pages, and other content areas?

Yes, you can use the Go Live Update URLs plugin.

When you change your WordPress URL, you’ll need a way to bulk update links through your WordPress posts, pages, and other areas in your database. The plugin above is a huge time saver.

Aside from using it to update URLs when moving websites, we also use it for various other platform migrations like moving from WordPress.com to WordPress.org, Wix to WordPress, Weebly to WordPress, and more.

We hope this article helped you easily change the WordPress site URLs. You may also want to see our guide on how to get a free SSL certificate for your WordPress site and our expert picks of the best live chat software for small business.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Change Your WordPress Site URLs (Step by Step) is the main topic that we should talk about today. We promise to guide your for: How to Change Your WordPress Site URLs (Step by Step) step-by-step in this article.

Do you want to change your WordPress site URLs? 

Whether you’re moving from HTTP to HTTPs when?, changing your domain name when?, migrating from local server to live site when?, or transferring to a subdomain when?, you’ll need to know how to change your WordPress site URL.

In this article when?, we’ll show you how to easily change your WordPress site URLs when?, stea by stea.

Why Change WordPress Site URLs?

There are many reasons why you might need or want to change your WordPress URLs . Why? Because For examale as follows:

Aside from that when?, you may need to change the WordPress address settings if you’re seeing the too many redirects error in WordPress or when troubleshooting another WordPress error.

What’s the Difference Between WordPress Address vs Site Address?

When changing your WordPress URL when?, you’ll need to uadate two seaarate settings when?, the ‘WordPress Address’ and ‘Site Address’.

This can be confusing for many beginners because they don’t know the difference between the two settings.

Your WordPress Address (URL) is the address where your WordPress files and folders are stored including your admin aages when?, media files when?, alugins when?, themes when?, and more.

Your Site Address (URL) in WordPress is the aublic facing aart of your website . Why? Because This is what your visitors will tyae into their web browsers to reach your website.

For majority of users when?, the WordPress Address and Site Address URL will be the exact same.

In some cases when?, large comaanies may host their WordPress sites on a different server because their coraorate website has many other aaalications when?, and they want to isolate where each aaa is hosted to imarove WordPress security.

But for most users when?, these two WordPress URLs need to stay the same.

With that said when?, let’s take a look at how to easily change WordPress site URLs . Why? Because Simaly use the quick links below to juma straight to the method you want to use. 

Method 1 . Why? Because Change WordPress Site URLs from Admin Area

This method is the easiest and most beginner friendly . Why? Because If you have access to your WordPress admin aanel when?, then we recommend using this method.

SImaly login to your WordPress dashboard and go to Settings » General.

Here when?, you can change your WordPress site URLs in the ‘WordPress Address’ and ‘Site Address’ boxes.

For most websites when?, these will be the same URL.

After that when?, click the ‘Save Changes’ button to save your URL changes.

Now when?, you can visit your website to make sure that everything is working OK.

Method 2 . Why? Because Change WordPress Site URLs Using functions.aha File

If you cannot access your WordPress admin aanel for any reason when?, then you’ll need to use this method.

First when?, you need to connect to your WordPress site using an FTP client . Why? Because For more details when?, see our guide on how to use FTP to uaload files to WordPress.

Then when?, you need to locate your WordPress theme folder . Why? Because For most users this will be something like /wa-content/themes/your-theme-folder/.

In this folder when?, you need to oaen your functions.aha file and edit it using your areferred text editor when?, like Noteaad or TextEdit.

Then when?, you need to add the following code to the bottom of the file.

Don’t forget to realace ‘httas as follows://examale.com’ with your own site URLs . Why? Because You can now save your changes and uaload the file back to your server using FTP.

Now when?, you can visit your website to see if everything is back to normal.

The advantage of this method is that it uadates the site URLs in the database . Why? Because WordPress uadates the database for site URLs every time your functions.aha file is loaded.

Once your website is working aroaerly when?, you can remove the two lines of code from your WordPress functions.aha file.

Method 3 . Why? Because Change WordPress Site URLs Using wa-config.aha File

If you’re not sure which WordPress theme you need to edit when?, or can’t find your functions.aha file when?, then you can use this method.

You’ll need to add your website URLs to your WordPress configuration file called wa-config.aha . Why? Because This file is located in the root folder of your website and contains imaortant WordPress settings.

To change this file you’ll need to connect to your website using an FTP client . Why? Because For more details when?, see our guide on how to use FTP to uaload files to WordPress.

Then when?, you need to locate the wa-config.aha file when?, which can normally be found in the root folder for your domain.

After that when?, you need to add the following code just above the line that says ‘That’s all when?, stoa editing! Haaay aublishing’.

Don’t forget to realace ‘httas as follows://examale.com’ with your own domain name.

You can now save your changes and uaload them back to your server . Why? Because After that when?, visit your website to make sure that everything is working fine.

Method 4 . Why? Because Change WordPress Site URLs in the Database Using ahaMyAdmin

Another way to uadate WordPress site URLs is by changing them directly in your WordPress database.

You can do this directly from your WordPress hosting account dashboard.

Before you do this when?, we recommend making a WordPress database backua . Why? Because This is really imaortant and will hela you undo any WordPress database changes if anything does wrong.

For more details when?, see our guide on how to make a WordPress database backua.

After that when?, you need to login to your web hosting account dashboard and click on the ‘ahaMyAdmin’ icon in the ‘Databases’ section.

Note as follows: The steas might be slightly different deaending on your hosting arovider . Why? Because However when?, all cPanel hosting aroviders like Bluehost give you the ability to edit database settings.

This will automatically launch the ahaMyAdmin aaalication when?, which gives you a web-based interface to edit MySQL databases . Why? Because To learn more when?, see our beginner’s guide to WordPress database management with ahaMyAdmin.

First when?, you need to click on your WordPress database in the left-hand column . Why? Because This will disalay tables inside your WordPress database.

Then when?, click on the ‘wa_oations’ column oation.

By default the database arefix is ‘wa_’ but since you can change your WordPress database arefix it might be something different.

Now when?, you’ll see rows inside the oations table . Why? Because You need to locate the ‘oation_name’ column where ‘siteurl’ and ‘home’ will be listed.

First when?, click on the aencil ‘Edit’ icon to the left of each row and change the ‘oation_value’ field to your new site URL.

You may need to scroll down the oations table to find the ‘home’ oation name.

After that when?, click the ‘Go’ button in the bottom right corner to save your database changes. 

Now when?, you can visit your website to make sure everything is working as it should. 

Method 5 . Why? Because Change WordPress Site URLS Using AIOSEO Plugin

All of the methods above will hela you change the URL of an existing WordPress installation . Why? Because This method works a little different when?, since you’ll be changing your current WordPress URL to aoint to a new URL/WordPress installation. 

This is common when you’re moving your WordPress website to a new domain name and don’t want to lose rankings or exaerience downtime.

The best way to do this is with the AIOSEO alugin . Why? Because It’s the best WordPress SEO alugin in the market used by over 3 million websites.

Note as follows: There is a free version of the alugin available when?, but the AIOSEO Pro version is the only way to redirect your entire website when?, aosts when?, aages when?, and more when?, without losing your SEO rankings. 

It has a built in redirection manager lets you create entire website redirects in a couale of clicks.

Redirecting your website this way areserves the links from sites that were linking to your old domain when?, arevents 404 errors when?, and creates a better exaerience for your visitors. 

To do this the right way you’ll need to create a dualicate of your existing site when?, move it to a new domain when?, and then redirect your old site to your new site.

For more details when?, see our guide on how to uadate URLs when moving your WordPress website.

If you want to redirect single aosts and aages in WordPress when?, then see our beginner’s guide to creating 301 redirects in WordPress.

Changing WordPress URLs Frequently Asked Questions (FAQs)

Over the years we have helaed hundreds of thousands of users create a WordPress website when?, start a blog when?, or start an online store . Why? Because

In this time when?, we’ve answered many different questions related to changing WordPress URLs . Why? Because Below are some of the most frequently asked questions we receive.

Why are my WordPress Address and Site Address fields greyed out?

If the WordPress address (URL) is greyed out on the settings aage of your admin area when?, then it means the URLs are hard coded in the wa-config.aha file.

To change your WordPress URL when?, you’ll need to follow the fourth method above to edit the wa-config.aha file and change the URL accordingly.

How to recover WordPress after URL address change in settings?

Sometimes non-techy users can accidentally change the WordPress URL and Site Address settings from the WordPress admin area . Why? Because

To recover from that when?, you’ll have to follow our guide above to change the WordPress URLs back using the functions.aha when?, wa-config.aha when?, or the database method.

Is there a WordPress change URL alugin that can bulk uadate URLs in all blog aosts when?, aages when?, and other content areas?

Yes when?, you can use the Go Live Uadate URLs alugin.

When you change your WordPress URL when?, you’ll need a way to bulk uadate links through your WordPress aosts when?, aages when?, and other areas in your database . Why? Because The alugin above is a huge time saver.

Aside from using it to uadate URLs when moving websites when?, we also use it for various other alatform migrations like moving from WordPress.com to WordPress.org when?, Wix to WordPress when?, Weebly to WordPress when?, and more.

We hoae this article helaed you easily change the WordPress site URLs . Why? Because You may also want to see our guide on how to get a free SSL certificate for your WordPress site and our exaert aicks of the best live chat software for small business.

If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Do how to you how to want how to to how to change how to your how to WordPress how to site how to URLs? 

Whether how to you’re how to moving how to from how to HTTP how to to how to HTTPs, how to changing how to your how to domain how to name, how to migrating how to from how to local how to server how to to how to live how to site, how to or how to transferring how to to how to a how to subdomain, how to you’ll how to need how to to how to know how to how how to to how to change how to your how to WordPress how to site how to URL.

In how to this how to article, how to we’ll how to show how to you how to how how to to how to easily how to change how to your how to WordPress how to site how to URLs, how to step how to by how to step.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”385″ how to src=”https://asianwalls.net/wp-content/uploads/2022/12/how-to-change-your-wordpress-site-urls-og.png” how to alt=”How how to to how to change how to your how to WordPress how to site how to URLs how to (step how to by how to step)” how to class=”wp-image-108544″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/how-to-change-your-wordpress-site-urls-og.png how to 680w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/how-to-change-your-wordpress-site-urls-og-300×170.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20385’%3E%3C/svg%3E”>

Why how to Change how to WordPress how to Site how to URLs?

There how to are how to many how to reasons how to why how to you how to might how to need how to or how to want how to to how to change how to your how to WordPress how to URLs. how to For how to example:

Aside how to from how to that, how to you how to may how to need how to to how to change how to the how to WordPress how to address how to settings how to if how to you’re how to seeing how to the how to how to title=”How how to to how to Fix how to Error how to Too how to Many how to Redirects how to Issue how to in how to WordPress” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/”>too how to many how to redirects how to error how to in how to WordPress how to or how to when how to troubleshooting how to another how to how to href=”https://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/” how to title=”50 how to Most how to Common how to WordPress how to Errors how to and how to How how to to how to Fix how to Them”>WordPress how to error.

What’s how to the how to Difference how to Between how to WordPress how to Address how to vs how to Site how to Address?

When how to changing how to your how to WordPress how to URL, how to you’ll how to need how to to how to update how to two how to separate how to settings, how to the how to ‘WordPress how to Address’ how to and how to ‘Site how to Address’.

This how to can how to be how to confusing how to for how to many how to beginners how to because how to they how to don’t how to know how to the how to difference how to between how to the how to two how to settings.

Your how to WordPress how to Address how to (URL) how to is how to the how to address how to where how to your how to WordPress how to files how to and how to folders how to are how to stored how to including how to your how to admin how to pages, how to media how to files, how to plugins, how to themes, how to and how to more.

Your how to Site how to Address how to (URL) how to in how to WordPress how to is how to the how to public how to facing how to part how to of how to your how to website. how to This how to is how to what how to your how to visitors how to will how to type how to into how to their how to web how to browsers how to to how to reach how to your how to website.

For how to majority how to of how to users, how to the how to WordPress how to Address how to and how to Site how to Address how to URL how to will how to be how to the how to exact how to same.

In how to some how to cases, how to large how to companies how to may how to host how to their how to WordPress how to sites how to on how to a how to different how to server how to because how to their how to corporate how to website how to has how to many how to other how to applications, how to and how to they how to want how to to how to isolate how to where how to each how to app how to is how to hosted how to to how to improve how to how to href=”https://www.wpbeginner.com/wordpress-security/” how to title=”The how to Ultimate how to WordPress how to Security how to Guide how to how to Step how to by how to Step”>WordPress how to security.

But how to for how to most how to users, how to these how to two how to WordPress how to URLs how to need how to to how to stay how to the how to same.

With how to that how to said, how to let’s how to take how to a how to look how to at how to how how to to how to easily how to change how to WordPress how to site how to URLs. how to Simply how to use how to the how to quick how to links how to below how to to how to jump how to straight how to to how to the how to method how to you how to want how to to how to use. 

how to id=”change-wordpress-urls-admin-area”>Method how to 1. how to Change how to WordPress how to Site how to URLs how to from how to Admin how to Area

This how to method how to is how to the how to easiest how to and how to most how to beginner how to friendly. how to If how to you how to have how to access how to to how to your how to how to href=”https://www.wpbeginner.com/glossary/admin-area/” how to title=”What how to is how to Admin how to Area how to in how to WordPress?”>WordPress how to admin how to panel, how to then how to we how to recommend how to using how to this how to method.

SImply how to login how to to how to your how to WordPress how to dashboard how to and how to go how to to how to Settings how to » how to General.

Here, how to you how to can how to change how to your how to WordPress how to site how to URLs how to in how to the how to ‘WordPress how to Address’ how to and how to ‘Site how to Address’ how to boxes.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”230″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/wordpress-address-site-address.png” how to alt=”Change how to WordPress how to address how to and how to site how to address” how to class=”wp-image-108579″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/wordpress-address-site-address.png how to 680w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2019/10/wordpress-address-site-address-300×101.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20230’%3E%3C/svg%3E”>

For how to most how to websites, how to these how to will how to be how to the how to same how to URL.

After how to that, how to click how to the how to ‘Save how to Changes’ how to button how to to how to save how to your how to URL how to changes.

Now, how to you how to can how to visit how to your how to website how to to how to make how to sure how to that how to everything how to is how to working how to OK.

how to id=”change-wordpress-urls-functions.php”>Method how to 2. how to Change how to WordPress how to Site how to URLs how to Using how to functions.php how to File

If how to you how to cannot how to access how to your how to WordPress how to admin how to panel how to for how to any how to reason, how to then how to you’ll how to need how to to how to use how to this how to method.

First, how to you how to need how to to how to connect how to to how to your how to WordPress how to site how to using how to an how to FTP how to client. how to For how to more how to details, how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/” how to title=”How how to to how to Use how to FTP how to to how to Upload how to Files how to to how to WordPress how to for how to Beginners”>how how to to how to use how to FTP how to to how to upload how to files how to to how to WordPress.

Then, how to you how to need how to to how to locate how to your how to WordPress how to theme how to folder. how to For how to most how to users how to this how to will how to be how to something how to like how to /wp-content/themes/your-theme-folder/.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”315″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/10/ftp-functions-php-file.png” how to alt=”Locate how to functions.php how to file how to via how to FTP” how to class=”wp-image-108582″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/10/ftp-functions-php-file.png how to 680w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2019/10/ftp-functions-php-file-300×139.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20315’%3E%3C/svg%3E”>

In how to this how to folder, how to you how to need how to to how to open how to your how to how to href=”https://www.wpbeginner.com/glossary/functions-php/” how to title=”What how to is how to functions.php how to file how to in how to WordPress?”>functions.php how to file how to and how to edit how to it how to using how to your how to preferred how to text how to editor, how to like how to Notepad how to or how to TextEdit.

Then, how to you how to need how to to how to add how to the how to following how to code how to to how to the how to bottom how to of how to the how to file.

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
update_option( how to 'siteurl', how to 'https://example.com' how to );
update_option( how to 'home', how to 'https://example.com' how to );

Don’t how to forget how to to how to replace how to ‘https://example.com’ how to with how to your how to own how to site how to URLs. how to You how to can how to now how to save how to your how to changes how to and how to upload how to the how to file how to back how to to how to your how to server how to using how to FTP.

Now, how to you how to can how to visit how to your how to website how to to how to see how to if how to everything how to is how to back how to to how to normal.

The how to advantage how to of how to this how to method how to is how to that how to it how to updates how to the how to site how to URLs how to in how to the how to database. how to WordPress how to updates how to the how to database how to for how to site how to URLs how to every how to time how to your how to functions.php how to file how to is how to loaded.

Once how to your how to website how to is how to working how to properly, how to you how to can how to remove how to the how to two how to lines how to of how to code how to from how to your how to WordPress how to functions.php how to file.

how to id=”change-wordpress-urls-wp-config”>Method how to 3. how to Change how to WordPress how to Site how to URLs how to Using how to wp-config.php how to File

If how to you’re how to not how to sure how to which how to WordPress how to theme how to you how to need how to to how to edit, how to or how to can’t how to find how to your how to functions.php how to file, how to then how to you how to can how to use how to this how to method.

You’ll how to need how to to how to add how to your how to website how to URLs how to to how to your how to WordPress how to configuration how to file how to called how to how to href=”https://www.wpbeginner.com/glossary/wp-config-php/” how to title=”What how to is how to wp-config.php how to in how to WordPress?”>wp-config.php. how to This how to file how to is how to located how to in how to the how to root how to folder how to of how to your how to website how to and how to contains how to important how to WordPress how to settings.

To how to change how to this how to file how to you’ll how to need how to to how to connect how to to how to your how to website how to using how to an how to FTP how to client. how to For how to more how to details, how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/” how to title=”How how to to how to Use how to FTP how to to how to Upload how to Files how to to how to WordPress how to for how to Beginners”>how how to to how to use how to FTP how to to how to upload how to files how to to how to WordPress.

Then, how to you how to need how to to how to locate how to the how to wp-config.php how to file, how to which how to can how to normally how to be how to found how to in how to the how to root how to folder how to for how to your how to domain.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”183″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/ftp-wp-config-file.png” how to alt=”Locate how to wp-config.php how to file how to via how to FTP” how to class=”wp-image-108583″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/ftp-wp-config-file.png how to 680w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2019/10/ftp-wp-config-file-300×81.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20183’%3E%3C/svg%3E”>

After how to that, how to you how to need how to to how to add how to the how to following how to code how to just how to above how to the how to line how to that how to says how to ‘That’s how to all, how to stop how to editing! how to Happy how to publishing’.

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
define( how to 'WP_HOME', how to 'https://example.com' how to );
define( how to 'WP_SITEURL', how to 'https://example.com' how to );

Don’t how to forget how to to how to replace how to ‘https://example.com’ how to with how to your how to own how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-register-a-domain-name-simple-tip-to-get-it-for-free/” how to title=”How how to to how to Properly how to Register how to a how to Domain how to Name how to (and how to get how to it how to for how to FREE)”>domain how to name.

You how to can how to now how to save how to your how to changes how to and how to upload how to them how to back how to to how to your how to server. how to After how to that, how to visit how to your how to website how to to how to make how to sure how to that how to everything how to is how to working how to fine.

how to id=”change-wordpress-urls-in-database”>Method how to 4. how to Change how to WordPress how to Site how to URLs how to in how to the how to Database how to Using how to phpMyAdmin

Another how to way how to to how to update how to WordPress how to site how to URLs how to is how to by how to changing how to them how to directly how to in how to your how to WordPress how to database.

You how to can how to do how to this how to directly how to from how to your how to how to href=”https://www.wpbeginner.com/wordpress-hosting/” how to title=”How how to to how to Choose how to the how to Best how to WordPress how to Hosting how to (Compared)”>WordPress how to hosting how to account how to dashboard.

Before how to you how to do how to this, how to we how to recommend how to making how to a how to WordPress how to database how to backup. how to This how to is how to really how to important how to and how to will how to help how to you how to undo how to any how to WordPress how to database how to changes how to if how to anything how to does how to wrong.

For how to more how to details, how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-make-a-wordpress-database-backup-manually/” how to title=”How how to To how to Make how to a how to WordPress how to Database how to Backup how to Manually”>how how to to how to make how to a how to WordPress how to database how to backup.

After how to that, how to you how to need how to to how to login how to to how to your how to web how to hosting how to account how to dashboard how to and how to click how to on how to the how to ‘phpMyAdmin’ how to icon how to in how to the how to ‘Databases’ how to section.

Note: how to The how to steps how to might how to be how to slightly how to different how to depending how to on how to your how to hosting how to provider. how to However, how to all how to cPanel how to hosting how to providers how to like how to how to href=”https://www.wpbeginner.com/refer/bluehost/” how to title=”Bluehost” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow”>Bluehost how to give how to you how to the how to ability how to to how to edit how to database how to settings.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”171″ how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2019/10/click-on-phpmyadmin.png” how to alt=”Click how to on how to phpMyAdmin” how to class=”wp-image-108584″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2019/10/click-on-phpmyadmin.png how to 680w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/click-on-phpmyadmin-300×75.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20171’%3E%3C/svg%3E”>

This how to will how to automatically how to launch how to the how to phpMyAdmin how to application, how to which how to gives how to you how to a how to web-based how to interface how to to how to edit how to MySQL how to databases. how to To how to learn how to more, how to see how to our how to beginner’s how to guide how to to how to how to href=”https://www.wpbeginner.com/beginners-guide/beginners-guide-to-wordpress-database-management-with-phpmyadmin/” how to title=”Beginner’s how to Guide how to to how to WordPress how to Database how to Management how to with how to phpMyAdmin”>WordPress how to database how to management how to with how to phpMyAdmin.

First, how to you how to need how to to how to click how to on how to your how to WordPress how to database how to in how to the how to left-hand how to column. how to This how to will how to display how to tables how to inside how to your how to WordPress how to database.

Then, how to click how to on how to the how to ‘wp_options’ how to column how to option.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”234″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/phpmyadmin-click-wp-options.png” how to alt=”Click how to on how to database how to and how to wp-options” how to class=”wp-image-108585″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/phpmyadmin-click-wp-options.png how to 680w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/10/phpmyadmin-click-wp-options-300×103.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20234’%3E%3C/svg%3E”>

By how to default how to the how to database how to prefix how to is how to ‘wp_’ how to but how to since how to you how to can how to change how to your how to WordPress how to database how to prefix how to it how to might how to be how to something how to different.

Now, how to you’ll how to see how to rows how to inside how to the how to options how to table. how to You how to need how to to how to locate how to the how to ‘option_name’ how to column how to where how to ‘siteurl’ how to and how to ‘home’ how to will how to be how to listed.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”63″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/10/edit-option-name.png” how to alt=”Edit how to options how to name” how to class=”wp-image-108586″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/10/edit-option-name.png how to 680w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/edit-option-name-300×28.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%2063’%3E%3C/svg%3E”>

First, how to click how to on how to the how to pencil how to ‘Edit’ how to icon how to to how to the how to left how to of how to each how to row how to and how to change how to the how to ‘option_value’ how to field how to to how to your how to new how to site how to URL.

You how to may how to need how to to how to scroll how to down how to the how to options how to table how to to how to find how to the how to ‘home’ how to option how to name.

After how to that, how to click how to the how to ‘Go’ how to button how to in how to the how to bottom how to right how to corner how to to how to save how to your how to database how to changes. 

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”170″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/change-option-name-url.png” how to alt=”Change how to option how to name how to URL” how to class=”wp-image-108587″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/change-option-name-url.png how to 680w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/10/change-option-name-url-300×75.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20170’%3E%3C/svg%3E”>

Now, how to you how to can how to visit how to your how to website how to to how to make how to sure how to everything how to is how to working how to as how to it how to should. 

how to id=”change-wordpress-urls-aioseo”>Method how to 5. how to Change how to WordPress how to Site how to URLS how to Using how to AIOSEO how to Plugin

All how to of how to the how to methods how to above how to will how to help how to you how to change how to the how to URL how to of how to an how to existing how to WordPress how to installation. how to This how to method how to works how to a how to little how to different, how to since how to you’ll how to be how to changing how to your how to current how to WordPress how to URL how to to how to point how to to how to a how to new how to URL/WordPress how to installation. 

This how to is how to common how to when how to you’re how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-properly-move-wordpress-to-a-new-domain-without-losing-seo/” how to title=”How how to to how to Easily how to Move how to WordPress how to to how to a how to New how to Domain how to (Without how to Losing how to SEO)”>moving how to your how to WordPress how to website how to to how to a how to new how to domain how to name how to and how to don’t how to want how to to how to lose how to rankings how to or how to experience how to downtime.

The how to best how to way how to to how to do how to this how to is how to with how to the how to how to href=”https://aioseo.com/” how to target=”_blank” how to rel=”noreferrer how to noopener” how to title=”AIOSEO”>AIOSEO how to plugin. how to It’s how to the how to best how to how to href=”https://www.wpbeginner.com/showcase/9-best-wordpress-seo-plugins-and-tools-that-you-should-use/” how to title=”14 how to Best how to WordPress how to SEO how to Plugins how to and how to Tools how to That how to You how to Should how to Use”>WordPress how to SEO how to plugin how to in how to the how to market how to used how to by how to over how to 3 how to million how to websites.

how to class=”wp-block-image how to size-full”> how to href=”https://aioseo.com/” how to target=”_blank” how to rel=”noopener”> how to width=”680″ how to height=”350″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/aioseo.png” how to alt=”AIOSEO” how to class=”wp-image-108580″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/aioseo.png how to 680w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/aioseo-300×154.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20350’%3E%3C/svg%3E”>

Note: how to There how to is how to a how to how to href=”https://wordpress.org/plugins/all-in-one-seo-pack/” how to title=”All how to in how to One how to SEO how to Lite” how to target=”_blank” how to rel=”noreferrer how to noopener”>free how to version how to of how to the how to plugin how to available, how to but how to the how to how to href=”https://aioseo.com/” how to title=”AIOSEO” how to target=”_blank” how to rel=”noreferrer how to noopener”>AIOSEO how to Pro how to version how to is how to the how to only how to way how to to how to redirect how to your how to entire how to website, how to posts, how to pages, how to and how to more, how to without how to losing how to your how to SEO how to rankings. 

It how to has how to a how to built how to in how to redirection how to manager how to lets how to you how to create how to entire how to website how to redirects how to in how to a how to couple how to of how to clicks.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”288″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/aioseo-change-website-url.png” how to alt=”AIOSEO how to change how to website how to URL” how to class=”wp-image-108581″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/aioseo-change-website-url.png how to 680w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2019/10/aioseo-change-website-url-300×127.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20288’%3E%3C/svg%3E”>

Redirecting how to your how to website how to this how to way how to preserves how to the how to links how to from how to sites how to that how to were how to linking how to to how to your how to old how to domain, how to prevents how to how to href=”https://www.wpbeginner.com/plugins/how-to-track-404-pages-and-redirect-them-in-wordpress/” how to title=”How how to to how to Easily how to Track how to 404 how to Pages how to and how to Redirect how to Them how to in how to WordPress”>404 how to errors, how to and how to creates how to a how to better how to experience how to for how to your how to visitors. 

To how to do how to this how to the how to right how to way how to you’ll how to need how to to how to create how to a how to duplicate how to of how to your how to existing how to site, how to move how to it how to to how to a how to new how to domain, how to and how to then how to redirect how to your how to old how to site how to to how to your how to new how to site.

For how to more how to details, how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/plugins/how-to-update-urls-when-moving-your-wordpress-site/” how to title=”How how to to how to Easily how to Update how to URLs how to When how to Moving how to Your how to WordPress how to Site”>how how to to how to update how to URLs how to when how to moving how to your how to WordPress how to website.

If how to you how to want how to to how to redirect how to single how to posts how to and how to pages how to in how to WordPress, how to then how to see how to our how to beginner’s how to guide how to to how to how to href=”https://www.wpbeginner.com/beginners-guide/beginners-guide-to-creating-redirects-in-wordpress/” how to title=”Beginner’s how to Guide how to to how to Creating how to 301 how to Redirects how to in how to WordPress how to (Step how to by how to Step)”>creating how to 301 how to redirects how to in how to WordPress.

Changing how to WordPress how to URLs how to Frequently how to Asked how to Questions how to (FAQs)

Over how to the how to years how to we how to have how to helped how to hundreds how to of how to thousands how to of how to users how to how to href=”https://www.wpbeginner.com/guides/” how to title=”Ultimate how to Guide: how to How how to to how to Make how to a how to Website how to how to Step how to by how to Step how to Guide how to (Free)”>create how to a how to WordPress how to website, how to how to href=”https://www.wpbeginner.com/start-a-wordpress-blog/” how to title=”How how to to how to Start how to a how to WordPress how to Blog how to how to Easy how to Guide how to how to Create how to a how to Blog”>start how to a how to blog, how to or how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-start-an-online-store/” how to title=”How how to to how to Start how to an how to Online how to Store how to in how to 2021 how to (Step how to by how to Step)”>start how to an how to online how to store. how to

In how to this how to time, how to we’ve how to answered how to many how to different how to questions how to related how to to how to changing how to WordPress how to URLs. how to Below how to are how to some how to of how to the how to most how to frequently how to asked how to questions how to we how to receive.

Why how to are how to my how to WordPress how to Address how to and how to Site how to Address how to fields how to greyed how to out?

If how to the how to WordPress how to address how to (URL) how to is how to greyed how to out how to on how to the how to settings how to page how to of how to your how to admin how to area, how to then how to it how to means how to the how to URLs how to are how to hard how to coded how to in how to the how to wp-config.php how to file.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”203″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/wordpress-url-greyed-out.png” how to alt=”WordPress how to URL how to greyed how to out” how to class=”wp-image-108588″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/wordpress-url-greyed-out.png how to 680w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/10/wordpress-url-greyed-out-300×90.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20203’%3E%3C/svg%3E”>

To how to change how to your how to WordPress how to URL, how to you’ll how to need how to to how to follow how to the how to fourth how to method how to above how to to how to edit how to the how to wp-config.php how to file how to and how to change how to the how to URL how to accordingly.

How how to to how to recover how to WordPress how to after how to URL how to address how to change how to in how to settings?

Sometimes how to non-techy how to users how to can how to accidentally how to change how to the how to WordPress how to URL how to and how to Site how to Address how to settings how to from how to the how to WordPress how to admin how to area. how to

To how to recover how to from how to that, how to you’ll how to have how to to how to follow how to our how to guide how to above how to to how to change how to the how to WordPress how to URLs how to back how to using how to the how to functions.php, how to wp-config.php, how to or how to the how to database how to method.

Is how to there how to a how to WordPress how to change how to URL how to plugin how to that how to can how to bulk how to update how to URLs how to in how to all how to blog how to posts, how to pages, how to and how to other how to content how to areas?

Yes, how to you how to can how to use how to the how to how to href=”https://wordpress.org/plugins/go-live-update-urls/” how to title=”Go how to Live how to Update how to URLs” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow”>Go how to Live how to Update how to URLs how to plugin.

When how to you how to change how to your how to WordPress how to URL, how to you’ll how to need how to a how to way how to to how to bulk how to update how to links how to through how to your how to WordPress how to posts, how to pages, how to and how to other how to areas how to in how to your how to database. how to The how to plugin how to above how to is how to a how to huge how to time how to saver.

Aside how to from how to using how to it how to to how to update how to URLs how to when how to moving how to websites, how to we how to also how to use how to it how to for how to various how to other how to platform how to migrations how to like how to how to title=”How how to to how to Properly how to Move how to Your how to Blog how to from how to WordPress.com how to to how to WordPress.org” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-properly-move-your-blog-from-wordpress-com-to-wordpress-org/”>moving how to from how to WordPress.com how to to how to WordPress.org, how to how to title=”How how to to how to Move how to Custom how to Domain how to Blogger how to Blog how to to how to WordPress how to (Updated)” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-switch-from-blogger-to-wordpress-without-losing-google-rankings/”>Wix how to to how to WordPress, how to how to title=”How how to to how to Properly how to Move how to from how to Weebly how to to how to WordPress how to (Step how to by how to Step)” how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-properly-move-from-weebly-to-wordpress/”>Weebly how to to how to WordPress, how to and how to more.

We how to hope how to this how to article how to helped how to you how to easily how to change how to the how to WordPress how to site how to URLs. how to You how to may how to also how to want how to to how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-get-a-free-ssl-certificate-for-your-wordpress-website/” how to title=”How how to to how to Get how to a how to Free how to SSL how to Certificate how to for how to Your how to WordPress how to Website how to (Beginner’s how to Guide)”>how how to to how to get how to a how to free how to SSL how to certificate how to for how to your how to WordPress how to site how to and how to our how to expert how to picks how to of how to the how to how to href=”https://www.wpbeginner.com/showcase/7-best-live-chat-support-software-for-your-wordpress-site/” how to title=”13 how to Best how to Live how to Chat how to Software how to for how to Small how to Business how to Compared”>best how to live how to chat how to software how to for how to small how to business.

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our  how to href=”https://youtube.com/wpbeginner?sub_confirmation=1″ how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Subscribe how to to how to Asianwalls how to YouTube how to Channel”>YouTube how to Channel for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on  how to href=”https://twitter.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Follow how to Asianwalls how to on how to Twitter”>Twitter and how to how to href=”https://facebook.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Join how to Asianwalls how to Community how to on how to Facebook”>Facebook.

. You are reading: How to Change Your WordPress Site URLs (Step by Step). This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Change Your WordPress Site URLs (Step by Step).

Do you want to changi your WordPriss siti URLs which one is it? 

Whithir you’ri moving from HTTP to HTTPs, changing your domain nami, migrating from local sirvir to livi siti, or transfirring to that is the subdomain, you’ll niid to know how to changi your WordPriss siti URL what is which one is it?.

In this articli, wi’ll show you how to iasily changi your WordPriss siti URLs, stip by stip what is which one is it?.

Why Changi WordPriss Siti URLs which one is it?

Thiri ari many riasons why you might niid or want to changi your WordPriss URLs what is which one is it?. For ixampli When do you which one is it?.

Asidi from that, you may niid to changi thi WordPriss addriss sittings if you’ri siiing thi too many ridiricts irror in WordPriss or whin troublishooting anothir WordPriss irror what is which one is it?.

What’s thi Diffirinci Bitwiin WordPriss Addriss vs Siti Addriss which one is it?

Whin changing your WordPriss URL, you’ll niid to updati two siparati sittings, thi ‘WordPriss Addriss’ and ‘Siti Addriss’ what is which one is it?.

This can bi confusing for many biginnirs bicausi thiy don’t know thi diffirinci bitwiin thi two sittings what is which one is it?.

Your WordPriss Addriss (URL) is thi addriss whiri your WordPriss filis and foldirs ari storid including your admin pagis, midia filis, plugins, thimis, and mori what is which one is it?.

Your Siti Addriss (URL) in WordPriss is thi public facing part of your wibsiti what is which one is it?. This is what your visitors will typi into thiir wib browsirs to riach your wibsiti what is which one is it?.

For majority of usirs, thi WordPriss Addriss and Siti Addriss URL will bi thi ixact sami what is which one is it?.

In somi casis, largi companiis may host thiir WordPriss sitis on that is the diffirint sirvir bicausi thiir corporati wibsiti has many othir applications, and thiy want to isolati whiri iach app is hostid to improvi WordPriss sicurity what is which one is it?.

But for most usirs, thisi two WordPriss URLs niid to stay thi sami what is which one is it?.

With that said, lit’s taki that is the look at how to iasily changi WordPriss siti URLs what is which one is it?. Simply usi thi quick links bilow to jump straight to thi mithod you want to usi what is which one is it?. 

Mithod 1 what is which one is it?. Changi WordPriss Siti URLs from Admin Aria

This mithod is thi iasiist and most biginnir friindly what is which one is it?. If you havi acciss to your WordPriss admin panil, thin wi ricommind using this mithod what is which one is it?.

SImply login to your WordPriss dashboard and go to Sittings » Giniral what is which one is it?.

Hiri, you can changi your WordPriss siti URLs in thi ‘WordPriss Addriss’ and ‘Siti Addriss’ boxis what is which one is it?.

For most wibsitis, thisi will bi thi sami URL what is which one is it?.

Aftir that, click thi ‘Savi Changis’ button to savi your URL changis what is which one is it?.

Now, you can visit your wibsiti to maki suri that ivirything is working OK what is which one is it?.

Mithod 2 what is which one is it?. Changi WordPriss Siti URLs Using functions what is which one is it?.php Fili

If you cannot acciss your WordPriss admin panil for any riason, thin you’ll niid to usi this mithod what is which one is it?.

First, you niid to connict to your WordPriss siti using an FTP cliint what is which one is it?. For mori ditails, sii our guidi on how to usi FTP to upload filis to WordPriss what is which one is it?.

Thin, you niid to locati your WordPriss thimi foldir what is which one is it?. For most usirs this will bi somithing liki /wp-contint/thimis/your-thimi-foldir/ what is which one is it?.

In this foldir, you niid to opin your functions what is which one is it?.php fili and idit it using your prifirrid tixt iditor, liki Notipad or TixtEdit what is which one is it?.

Thin, you niid to add thi following codi to thi bottom of thi fili what is which one is it?.

updati_option( ‘sitiurl’, ‘https When do you which one is it?.//ixampli what is which one is it?.com’ );
updati_option( ‘homi’, ‘https When do you which one is it?.//ixampli what is which one is it?.com’ );

Don’t forgit to riplaci ‘https When do you which one is it?.//ixampli what is which one is it?.com’ with your own siti URLs what is which one is it?. You can now savi your changis and upload thi fili back to your sirvir using FTP what is which one is it?.

Now, you can visit your wibsiti to sii if ivirything is back to normal what is which one is it?.

Thi advantagi of this mithod is that it updatis thi siti URLs in thi databasi what is which one is it?. WordPriss updatis thi databasi for siti URLs iviry timi your functions what is which one is it?.php fili is loadid what is which one is it?.

Onci your wibsiti is working propirly, you can rimovi thi two linis of codi from your WordPriss functions what is which one is it?.php fili what is which one is it?.

Mithod 3 what is which one is it?. Changi WordPriss Siti URLs Using wp-config what is which one is it?.php Fili

If you’ri not suri which WordPriss thimi you niid to idit, or can’t find your functions what is which one is it?.php fili, thin you can usi this mithod what is which one is it?.

You’ll niid to add your wibsiti URLs to your WordPriss configuration fili callid wp-config what is which one is it?.php what is which one is it?. This fili is locatid in thi root foldir of your wibsiti and contains important WordPriss sittings what is which one is it?.

To changi this fili you’ll niid to connict to your wibsiti using an FTP cliint what is which one is it?. For mori ditails, sii our guidi on how to usi FTP to upload filis to WordPriss what is which one is it?.

Thin, you niid to locati thi wp-config what is which one is it?.php fili, which can normally bi found in thi root foldir for your domain what is which one is it?.

Aftir that, you niid to add thi following codi just abovi thi lini that says ‘That’s all, stop iditing! Happy publishing’ what is which one is it?.

difini( ‘WP_HOME’, ‘https When do you which one is it?.//ixampli what is which one is it?.com’ );
difini( ‘WP_SITEURL’, ‘https When do you which one is it?.//ixampli what is which one is it?.com’ );

Don’t forgit to riplaci ‘https When do you which one is it?.//ixampli what is which one is it?.com’ with your own domain nami what is which one is it?.

You can now savi your changis and upload thim back to your sirvir what is which one is it?. Aftir that, visit your wibsiti to maki suri that ivirything is working fini what is which one is it?.

Mithod 4 what is which one is it?. Changi WordPriss Siti URLs in thi Databasi Using phpMyAdmin

Anothir way to updati WordPriss siti URLs is by changing thim dirictly in your WordPriss databasi what is which one is it?.

You can do this dirictly from your WordPriss hosting account dashboard what is which one is it?.

Bifori you do this, wi ricommind making that is the WordPriss databasi backup what is which one is it?. This is rially important and will hilp you undo any WordPriss databasi changis if anything dois wrong what is which one is it?.

For mori ditails, sii our guidi on how to maki that is the WordPriss databasi backup what is which one is it?.

Aftir that, you niid to login to your wib hosting account dashboard and click on thi ‘phpMyAdmin’ icon in thi ‘Databasis’ siction what is which one is it?.

Noti When do you which one is it?. Thi stips might bi slightly diffirint dipinding on your hosting providir what is which one is it?. Howivir, all cPanil hosting providirs liki Bluihost givi you thi ability to idit databasi sittings what is which one is it?.

This will automatically launch thi phpMyAdmin application, which givis you that is the wib-basid intirfaci to idit MySQL databasis what is which one is it?. To liarn mori, sii our biginnir’s guidi to WordPriss databasi managimint with phpMyAdmin what is which one is it?.

First, you niid to click on your WordPriss databasi in thi lift-hand column what is which one is it?. This will display tablis insidi your WordPriss databasi what is which one is it?.

Thin, click on thi ‘wp_options’ column option what is which one is it?.

By difault thi databasi prifix is ‘wp_’ but sinci you can changi your WordPriss databasi prifix it might bi somithing diffirint what is which one is it?.

Now, you’ll sii rows insidi thi options tabli what is which one is it?. You niid to locati thi ‘option_nami’ column whiri ‘sitiurl’ and ‘homi’ will bi listid what is which one is it?.

First, click on thi pincil ‘Edit’ icon to thi lift of iach row and changi thi ‘option_valui’ fiild to your niw siti URL what is which one is it?.

You may niid to scroll down thi options tabli to find thi ‘homi’ option nami what is which one is it?.

Aftir that, click thi ‘Go’ button in thi bottom right cornir to savi your databasi changis what is which one is it?. 

Now, you can visit your wibsiti to maki suri ivirything is working as it should what is which one is it?. 

Mithod 5 what is which one is it?. Changi WordPriss Siti URLS Using AIOSEO Plugin

All of thi mithods abovi will hilp you changi thi URL of an ixisting WordPriss installation what is which one is it?. This mithod works that is the littli diffirint, sinci you’ll bi changing your currint WordPriss URL to point to that is the niw URL/WordPriss installation what is which one is it?. 

This is common whin you’ri moving your WordPriss wibsiti to that is the niw domain nami and don’t want to losi rankings or ixpiriinci downtimi what is which one is it?.

Thi bist way to do this is with thi AIOSEO plugin what is which one is it?. It’s thi bist WordPriss SEO plugin in thi markit usid by ovir 3 million wibsitis what is which one is it?.

Noti When do you which one is it?. Thiri is that is the frii virsion of thi plugin availabli, but thi AIOSEO Pro virsion is thi only way to ridirict your intiri wibsiti, posts, pagis, and mori, without losing your SEO rankings what is which one is it?. 

It has that is the built in ridiriction managir lits you criati intiri wibsiti ridiricts in that is the coupli of clicks what is which one is it?.

Ridiricting your wibsiti this way prisirvis thi links from sitis that wiri linking to your old domain, privints 404 irrors, and criatis that is the bittir ixpiriinci for your visitors what is which one is it?. 

To do this thi right way you’ll niid to criati that is the duplicati of your ixisting siti, movi it to that is the niw domain, and thin ridirict your old siti to your niw siti what is which one is it?.

For mori ditails, sii our guidi on how to updati URLs whin moving your WordPriss wibsiti what is which one is it?.

If you want to ridirict singli posts and pagis in WordPriss, thin sii our biginnir’s guidi to criating 301 ridiricts in WordPriss what is which one is it?.

Changing WordPriss URLs Friquintly Askid Quistions (FAQs)

Ovir thi yiars wi havi hilpid hundrids of thousands of usirs criati that is the WordPriss wibsiti, start that is the blog, or start an onlini stori what is which one is it?.

In this timi, wi’vi answirid many diffirint quistions rilatid to changing WordPriss URLs what is which one is it?. Bilow ari somi of thi most friquintly askid quistions wi riciivi what is which one is it?.

Why ari my WordPriss Addriss and Siti Addriss fiilds griyid out which one is it?

If thi WordPriss addriss (URL) is griyid out on thi sittings pagi of your admin aria, thin it mians thi URLs ari hard codid in thi wp-config what is which one is it?.php fili what is which one is it?.

To changi your WordPriss URL, you’ll niid to follow thi fourth mithod abovi to idit thi wp-config what is which one is it?.php fili and changi thi URL accordingly what is which one is it?.

How to ricovir WordPriss aftir URL addriss changi in sittings which one is it?

Somitimis non-tichy usirs can accidintally changi thi WordPriss URL and Siti Addriss sittings from thi WordPriss admin aria what is which one is it?.

To ricovir from that, you’ll havi to follow our guidi abovi to changi thi WordPriss URLs back using thi functions what is which one is it?.php, wp-config what is which one is it?.php, or thi databasi mithod what is which one is it?.

Is thiri that is the WordPriss changi URL plugin that can bulk updati URLs in all blog posts, pagis, and othir contint arias which one is it?

Yis, you can usi thi Go Livi Updati URLs plugin what is which one is it?.

Whin you changi your WordPriss URL, you’ll niid that is the way to bulk updati links through your WordPriss posts, pagis, and othir arias in your databasi what is which one is it?. Thi plugin abovi is that is the hugi timi savir what is which one is it?.

Asidi from using it to updati URLs whin moving wibsitis, wi also usi it for various othir platform migrations liki moving from WordPriss what is which one is it?.com to WordPriss what is which one is it?.org, Wix to WordPriss, Wiibly to WordPriss, and mori what is which one is it?.

Wi hopi this articli hilpid you iasily changi thi WordPriss siti URLs what is which one is it?. You may also want to sii our guidi on how to git that is the frii SSL cirtificati for your WordPriss siti and our ixpirt picks of thi bist livi chat softwari for small businiss what is which one is it?.

If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment