I was able to add WordPress Address (URL) and Site Address (URL) manually and access the local site again. What I did was add following code segments to following files.
-
wp-config.php
define('WP_HOME','http://www.local.abc.com'); define('WP_SITEURL','http://www.local.abc.com');
-
Functions.php
I have added following code just after opening of
update_option('siteurl', 'http://www.local.abc.com' );
update_option('home', 'http://www.local.abc.com' );
After that I have refresh site and it worked fine.
Related Posts:
- How to set ipv6 address as siteurl?
- WordPress site isn’t reachable after site & home URL modification
- wp_options siteurl and home hardcoded?
- Is there a way to append a trailing slash to get_home_url() and get_permalink( get_option( ‘page_for_posts’ ) )?
- I changed the site address and wordpress address from localhost to my ip and it doesn’t work anymore
- What’s the difference between home_url() and site_url()
- Switching MultiSite installation from HTTP to HTTPS
- Getting the Site URL Including the Front Base
- Difference between bloginfo(‘home’) and home_url() and site_url()
- How to remove “http://” When Echoing URL?
- Changing www prefix in General Settings and Interior Links
- What does $scheme in site_url function do?
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- What is the purpose of storing `siteurl` in database?
- Get current url with parameters passed
- Remove site root trailing slash
- Headless WordPress – Issue with plugin path
- Putting my site live
- Remove / from www.example.com/ [closed]
- I don’t see site_url and home_url fields in wp_options table (phpMyAdmin)?
- Override WordPress theme url
- How to Create a Staging Site / Changing URL
- How to retrieve TLD domain for the current website?
- get_template_directory_uri cached?
- Not Found (404) error on admin page, CSS gone on blog
- Adding subdomain to home_url for “add_menu_page”
- can’t access my site [closed]
- Dynamically update Site/WordPress Address
- get_template_directory_uri not dependent on WP_HOME in wp-config.php?
- Does WordPress Strip Away the WWW from a Web Address
- Why is a wordpress login session limited to one domain
- problem with guid, when i change the folder name
- I changed the url from the setting then login panel not working
- Redirect htaccess [closed]
- Querystring value being stripped from site_url()
- Showing my server ip in source code for several links not for all links
- Cannot access WordPress website from external IP while internally it is working properly [closed]
- home_url on IIS missing permalink index.php
- Want to change my site root
- How to make a random dynamic url?
- Unable to Update Post when Changing Site URL
- WP returns to domain root instead of siteurl
- SSL not working fine, Home url not matching with site url wordpress errors
- Got 404 error when changed siteurl via DB in WordPress
- WordPress replaces “https://” with “//” for Site & WordPress-URL
- Change of “home” results in timeouts (only on index.php)
- How to delete blog word from wordpress url?
- Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)
- Updated Site URL but it is not reflecting the changes
- How to set a home page on a WordPress site?
- change home_url and site_url but don’t redirect to home_url and site_url on load
- Changing siteurl breaks site
- How to add www to images?
- Blog broken after changing Site/Home URL
- Moving Site: Is Re-downloading Files After Changing URLs necessary?
- How to retrive previous Domain URL in Wp
- Changing the site URL
- Making a site URL
- WordPress database nonsense error
- Keeping the URL but changing the site – How?
- change the URL title and tagline
- Lost WordPress website access after changing URL [closed]
- How do I change the Multisite URL?
- Is it possible to use a single custom post as the site front page
- how to use a different domain/subdomain for authors/catagories on single site?
- Changing Site Address (URL) causes 404
- Unable to load static front page on home url
- Change homepage url
- Customize multisite site creation with user data
- How can I change all links on pages to point to a different domain from where the site is hosted?
- Changing my site url from azure.net to custom domain
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- How to rewrite url wordpress?
- Add a prefix to all url’s of the WordPress website except the homepage
- Can’t control WordPress Addresses from admin panel
- Session Expired when WordPress Address (URL) and Site Address (URL) are different
- Confusion about Site url and directory
- Google verification challenge with file location
- How to redirect the frontend of a WordPress site (only)?
- Linking to pages/posts within the site
- Accidentally messed up URLs
- How set a custom URL for a new theme file in WP?
- Using Static HTML instead of the `home_url()` WP function
- WP in subfolder hidden by htaccess, but media links show the subfolder
- DNS – Change WordPress Site Name?
- change the url in wordpress
- how to move another machine or server without dealing with IP
- Interchanging WordPress Multisite primary site
- How to bulk Update URLs to new values?
- How to generate expiring URL of the page?
- What is the difference between `Home page / Archieves` and the page set as homepage?
- Using WordPress solely as a Backend – dealing with WP_SITEURL
- How to change URL of my pages?
- Error 404 wordpress redirecting URL
- Remove blog slug from WPMU?
- site_url is not honoring scheme
- redirect word-press page with page values
- permalinks url with woocommerce
- How can you change the admin dashboard URL without symlinking?
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?