How To Fix Can’t Change WordPress Website Address – Greyed Out URLs

Are your WordPress Address (URL) and WordPress Site Address (URL) greyed out? This step-by-step tutorial shows you how to fix this issue.

How To Fix Can't Change WordPress Website Address - Greyed Out URLsThis tutorial is part of our FREE WordPress Management training and WordPress Troubleshooting tutorial series.

In this series of step-by-step tutorials, we show you how to troubleshoot and fix common WordPress errors.

If you plan to move your WordPress installation to another directory or change your website from ‘http’ to ‘https’, you will need to edit the URLs in your Settings > General Settings section.

If these fields are greyed out, however, the fields will be uneditable  …

WordPress General Settings - Greyed out URLs

(WordPress General Settings – Greyed out URLs)

If you find that your WordPress Address (URL) and Site Address (URL) are greyed out on your Settings > General Settings section, the step-by-step tutorial below will show you how to easily fix this issue.

For help configuring your General Settings section, see this tutorial:

Useful Information

Important: Always back up your WordPress site (files and data) before modifying any files or performing any upgrades or installations! 

If you don’t want to back up your files yourself, then hire a professional service, or use backup plugins.

How To Fix Can’t Change WordPress Website Address – Greyed Out URLs

Greyed out WordPress Address and Site Address URLs can be caused when someone moves or clones a WordPress site but forgets to delete a couple of lines of code or the migration process is interrupted, making the fields uneditable in the General Settings section …

WordPress General Settings - Greyed out URLs

(WordPress General Settings – Greyed out URLs)

To fix this issue, you will need to edit the wp-config.php file in your WordPress installation, either using FTP software, or File Manager in cPanel.

For this tutorial, we’ll use File Manager in cPanel.

How To Edit wp-config.php File Using cPanel File Manager

If your WordPress site is hosted on a server with cPanel installed, log into your cPanel control area and click on File Manager (Files > File Manager) …

cPanel Files - File Manager

(cPanel Files – File Manager)

Most WordPress installations are found inside the ‘public_html’ directory. Double-click on ‘public_html’ to open the directory folder …

cPanel File Manager - public_html directory

(cPanel File Manager – public_html directory)

Locate and select the wp-config.php file …

wp-config.php file

(wp-config.php file)

With wp-config.php selected, click on Edit to open the file (note: we recommend making a backup of the file before editing. To do this, select ‘Download’ first and save a copy of the file to your hard drive) …

File Manager - Edit function

(File Manager – Edit function)

A warning dialog window may pop up reminding you to back up the original file. Click on ‘Edit’ to proceed …

Edit dialog window

(Edit dialog window)

Scroll down through the code in this file until you find the two lines shown below (define ‘WP HOME’ and define ‘WP SITEURL’). The ‘yourdomain.com’ URLs should display your actual domain …

Find these two lines in wp-config.php

(Find these two lines in wp-config.php)

Select only these two lines inside the wp-config.php file, nothing else …

Select define 'WP HOME' and define 'WP SITEURL'

(Select define ‘WP HOME’ and define ‘WP SITEURL’)

Delete only these two lines, nothing else …

Delete define 'WP HOME' and define 'WP SITEURL'

(Delete define ‘WP HOME’ and define ‘WP SITEURL’)

After deleting these two lines of code, the section of your wp-config.php file should look like the screenshot below …

wp-config.php file with define 'WP HOME' and define 'WP SITEURL' lines removed

(wp-config.php file with define ‘WP HOME’ and define ‘WP SITEURL’ lines removed)

Click the ‘Save Changes’ button to save and update your wp-config.php file and then click ‘Close’ to exit the editing window in File Manager …

Save changes in your wp-config.php file

(Save changes in your wp-config.php file)

Log out of cPanel and log into your WordPress site’s admin area, then click on Settings > General in the main menu. The WordPress Address (URL) and Site Address (URL) fields should no longer be greyed out, but restored to normal and editable once again …

WordPress Address (URL) and Site Address (URL) fields are no longer greyed out

(WordPress Address (URL) and Site Address (URL) fields are no longer greyed out)

Useful Information

The above should fix this issue in most instances. If you are still experiencing issues with greyed out URLs, contact your website developer or hosting provider for help.

Congratulations! Now you know how to fix the issue of greyed out URLs preventing you from changing your WordPress site address URLs in the General Settings section.

How To Fix Can't Change WordPress Website Address - Greyed Out URLs

More WordPress Troubleshooting Tutorials

If you experience additional problems with WordPress, please see the tutorials in the section below:

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

***

How To Fix Problems Accessing Your WordPress Admin Area

Are you locked out of your WordPress admin area? Learn how to troubleshoot, identify & fix problems or errors preventing access to your WordPress admin area …

How To Fix Problems Accessing Your WordPress Admin AreaThis tutorial is part of our FREE WordPress Management training and WordPress Troubleshooting tutorial series.

In this series of step-by-step tutorials, we show you how to troubleshoot and fix common WordPress errors.

Note

Important: Always do a backup of your WordPress site (files and database) before modifying any files or performing any upgrades or installations! 

If you don’t want to back up your files manually, then consider hiring the services of a professional, or use a WordPress backup plugin.

How To Fix Problems Accessing Your WordPress Admin Area

Can't access your WordPress admin area?

(Are you locked out of your WordPress admin area?)

If you use WordPress often, you may find yourself at times locked out of your administration panel.

Some of the possible causes of finding yourself locked out of your WordPress admin area include experiencing issues or errors with:

  • WordPress password
  • WordPress themes or plugins
  • WordPress installation files
  • WordPress database
  • WordPress security
  • Your server or web host

In this tutorial, we’ll use a systematic approach to troubleshoot, identify, and hopefully fix the issue or error preventing you from accessing your WordPress admin area.

Important Info

Normally, most people experiencing issues with WordPress would just contact their website developer or hosting provider for help.

Use the tutorials below if you manage your own WordPress site or if you want to learn how to troubleshoot and fix problems yourself (remember to always backup your site and data).

WordPress Password & Login Issues

Can you access your WordPress admin login page? If you can, then the first step to troubleshooting problems preventing you from accessing your WordPress admin area is to see if there are any issues with your password or login details.

You will be locked out of your WordPress admin area if you have forgotten your password and you cannot access the email for recovering your password, or if a user with administrative privileges has revoked your user access privileges or changed your login details.

If you think the issue may be related to your password or login details, then see these tutorials:

Info

Most of the errors or issues described in the sections below may prevent you from accessing your WordPress admin login page. If, after going through the sections below you still cannot log into your admin area, then see this tutorial:

WordPress Theme Or Plugin Issues

Conflicts with WordPress plugins or themes can cause a number of issues that will prevent you from being able to access your WordPress admin area. Additionally, a plugin or plugin code can change settings that will lock you out of your WordPress admin pages.

To troubleshoot errors related to WordPress themes and plugins, go here:

If the problem preventing you from being able to access your WordPress admin area is not being caused by WordPress themes or plugins, then the next step is to see if there are any issues with your WordPress installation files.

WordPress Installation File Issues

Were you trying to upload or install something before experiencing the problem? Corrupted files and installation errors can cause issues and prevent you from logging into your WordPress admin area.

To troubleshoot problems related to WordPress installation files, see the tutorials below:

If the problem preventing you from being able to access your WordPress admin area is not being caused by WordPress installation files, the next step is to see if there are any issues with your WordPress database.

WordPress Database Issues

Over time, tables in your WordPress database can become corrupted and  lead to issues preventing you from accessing your WordPress admin area.

Some common problems involving WordPress database errors include the following:

The WordPress White Screen Of Death

WordPress White Screen Of Death

(WordPress White Screen Of Death)

If your screen is completely blank, you may be experiencing the dreaded WordPress “White Screen Of Death.”

To learn how to troubleshoot and fix this problem, go here:

Error Establishing A Database Connection

Error establishing a database connection

(Error establishing a database connection)

There are many reasons why WordPress can display an “Error establishing a database connection” message on your screen.

To learn how to troubleshoot and fix this problem, go here:

WordPress Fatal Errors

WordPress Fatal error message

(WordPress Fatal error message)

If your WordPress site is displaying a ‘Fatal error’ message, the issue may be caused by conflicting plugins or memory issues.

To learn how to troubleshoot and fix this error, see this tutorial:

Memory Size Exhausted Errors

Fatal error: Allowed memory size exhausted

(Fatal error: Allowed memory size exhausted)

When the amount of memory allocated to your WordPress site isn’t enough to perform tasks required by a feature or plugin that you have installed, errors occur that can prevent you from being able to access your admin area.

To learn how to troubleshoot and fix issues related to memory size, go here:

If the problem preventing you from being able to access your WordPress admin area is not being caused by issues with your WordPress database, the next step is to see if there are any security issues with your WordPress site.

WordPress Security Issues

The worst case scenario for not being able to log into your WordPress admin area is that your site has been hacked or attacked by a malicious user.

If a hacker gains control of your administration area, they can lock you out and wreak havoc on your site

To troubleshoot errors related to WordPress security, go here:

Also, see these resources for performing preventative security scans and protecting your WordPress site:

If there are no security issues preventing you from being able to access your WordPress admin area, the next step is to see if an issue with your server or web host is causing you login problems.

Server Or Web Host Issues

Is an issue with your server or web host causing you login problems?

(Is an issue with your server or web host causing you login problems?)

Sometimes, WordPress problems have nothing to do with WordPress or your site, but with your hosting environment.

If you have gone through all of the above sections and still cannot log into your admin area or you suspect an issue with your server is causing you login or access problems, then either contact your web hosting company or refer to the tutorials below:

Practical Tip

If you continue to experience problems with your site, you may need to look at upgrading your hosting package or even switching web hosting providers.

Hopefully, one of the above tutorials has helped you resolve the problem. In addition to the information above, check out this video on what to do if get locked out of your WordPress admin area from the team at MyThemeShop:

(What to do if you get locked out of your WordPress admin area. Video: MyThemeShop)

More WordPress Troubleshooting Tutorials

Refer to the tutorials in the section below if you experience additional problems with WordPress:

How To Fix Problems Accessing Your WordPress Admin Area

(Source: Pixabay)

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org

***

How To Fix The Page Isn’t Redirecting Properly Error In WordPress

Learn how to fix ‘The page isn’t redirecting properly’ error in WordPress in this tutorial …

How To Fix The Page Isn't Redirecting Properly Error In WordPressThis tutorial is part of our FREE WordPress Management training and WordPress Troubleshooting tutorial series.

In this series of step-by-step tutorials, we show you how to troubleshoot and fix common WordPress errors.

Important

Important: Always back up your WordPress site (files and database) before modifying any files or performing any upgrades or installations! 

If you don’t want to perform site backups, then hire a professional service, or use WordPress backup plugins.

How To Fix The Page Isn’t Redirecting Properly Error In WordPress

The page isn't redirecting properly error message

(‘The page isn’t redirecting properly’ error message)

If you are getting a ‘The page isn’t redirecting properly’ error message on your WordPress site, then something is causing too many redirections to happen in a way that the request cannot be completed by your server.

This error may be caused by a number of reasons, including:

  • Misconfiguration in the WordPress general settings for your domain (e.g. a wrong site address).
  • SEO or redirection plugins.
  • Redirection services (including caching and CDN services).
  • SSL settings.
  • Etc.

Redirection Error Caused By Misconfiguration In WordPress Settings

One of the most common reasons for getting a ‘page isn’t redirecting properly’ error is a misconfiguration in the WordPress General Settings.

If there is a mismatch between your WordPress Address (URL) and Site Address (URL) fields, this can increase your chance of experiencing problems, such as being continually logged out of WordPress or seeing redirection errors.

To check that mismatched settings are not the cause of the error, log into your admin area, then go to Settings > General Settings and make sure that both your WordPress Address (URL) and Site Address (URL) fields use the same URL prefix …

Mismatched URL prefixes can cause redirection errors

(Mismatched URL prefixes can cause redirection errors)

If your WordPress Address (URL) doesn’t match the domain prefix of your Site Address (URL), WordPress sees this as two different websites (one site with ‘www’ and another without the ‘www’).

Tip

Note: We are not referring here to setting a different WordPress Address (URL) than a Site Address (URL) if your site requires these to be different in order to work. What we mean is both URLs either must use ‘www’ in the prefix or both should use the ‘non-www’ version.

To learn more about this, see these tutorials:

Redirection Error Caused By Misconfigured SSL Settings

If your site uses SSL and you are experiencing a ‘page isn’t redirecting properly’ error, go back to your WordPress General Settings and make sure that both of the fields shown in the screenshot below use an ‘https’ scheme for their URLs …

Set both URLs to 'https' if using SSL to avoid errors

(Set both URLs to ‘https’ if using SSL to avoid errors)

Redirection Error Caused By A Plugin

If you suspect that a ‘page isn’t redirecting properly’ error may be caused by a plugin, you will need to troubleshoot your plugins to find which one is causing the error.

If you need help troubleshooting plugins, see this tutorial:

Contact Your Web Host

If none of the above solutions help to resolve the problem, contact your hosting company.

In addition to the information above, check out this video on how to fix ‘The page isn’t redirecting properly’ error from the team at MyThemeShop:

(How to fix ‘The page isn’t redirecting properly’ error. Video: MyThemeShop)

More WordPress Troubleshooting Tutorials

Check out the tutorials in the section below if you experience other problems with WordPress:

How To Fix The Page Isn't Redirecting Properly Error In WordPress

(Source: Pixabay)

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

***