You need to get access to the database ( and for this you need cpanel access probably ) – commonly, this is via PHPMYADMIN, most hosts have it and then you need to go to the wp_options table and find two references, these are normally on the first and second page of rows – they are:
site_url
& home_url
Both should show the new URL you changed the site to – you can edit them to what you want.
As a work around if you have working FTP access, these values can also be hard coded into the wp-config.php file, in the root of the WordPress install – using the two following CONSTANTS:
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
Read more about how here: https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php
Related Posts:
- Is there ANY way to remove comments function and section totally?
- Changing the ‘wp-admin’ URL to whatever I want
- Unit testing in the WordPress backend (is_admin() is true)
- How to display a static HTML page while setting up a WordPress site?
- How can I uninstall a language?
- Best way to present options for home page in admin?
- How can I improve the line break handling in the WYSIWYG editor?
- How do I change the login logo URL and hover title?
- How to make ajax call in wordpress in right way?
- Delete Post From front Page ( With Wp-admin restriction )
- Custom user role that can only edit specific (non-custom-type) page and all child pages [duplicate]
- Add mass action to wp-admin/users.php
- Only allow administrators and editors to access wp-admin
- Add button in TinyMCE editor to insert text
- Can you change the main heading of a page in the WordPress admin (without output buffering or JavaScript)?
- Add column to pages table
- wp-admin – save options without refreshing?
- How to get the password and username of the add new user form (admin back end) in wordpress
- WordPress Error establishing a database connection For Admin login only
- How do you modify CSS files via admin panel?
- Image editing: “Edit Original” and “Replace” buttons missing on old posts
- WooCommerce – filter by featured products in admin
- How to prevent parent admin page from appearring as a child admin page
- Replace wordpress login logo with custom text
- How to clone wp-admin and make a new dashboard controlled by your code?
- What is an “Options Framework” for WordPress
- show/hide toggle for subpages in wordpress admin area
- Additionally added URL params leading to “Invalid post type.” in the Admin Panel
- After login get “403 Forbidden”
- How to display a Ninja Form on the WordPress admin pages
- Why are my frontend theme styles bleeding into the backend?
- Show Welcome Panel on Dashboard for every user
- Is it possible to add an item the Post Publish panel?
- Uncheck the box “Send User Notification” by default on new-user.php
- Detecting all admins that are logged in
- WordPress Options Page not working
- Admin account locked out/redirect loop. Other accounts work?
- Add count for new registered user in Users tab
- How To Differentiate Drafted product and Publish Product through Color?
- WP admin page gives 404
- No access local wordpress website after PC formating
- How to prevent the editor from redirecting to website within iframe?
- is_admin() not working when updating a post in the admin panel
- Why is server preventing admin styles? (Was: Where are WordPress sessions saved?)
- An update has caused my client’s site to be non-existent after new update of WordPress [closed]
- White screen of death in Dashboard after clean installation
- wp-admin throwing 500 errors after update to 4.2.1
- White screen of death for wp-admin and error for wp-login.php after entering credentials
- How do you force the wordpress dashboard to be 1 coulmn by default?
- Migrated wordpress site give “Undefined variable: php” warnings
- Add and Remove Row Actions in an Existing WP_List_Table
- I am unable to login into my wp-admin
- Is it possible to take over a WordPress site if the old administrator is MIA?
- How can I prevent redirects from mysite/page to mysite/wp path/page?
- How can I prevent a function from loading in the admin screens?
- Add styles to wordpress admin on the Page List
- making users.php search include a specific user meta data field without messing with the SQL query itself
- Redirect an entire WordPress site on a subdomain, except wp-admin
- WordPress Admin Toolbar Disappeared when moved site to subfolder
- Admin sometimes redirects to HTTPS
- WP Core hard coded to use http://www.w3.org/1999/xhtml not HTTPS
- Hide user group filtering links
- 404 Admin Error
- Fix Admin Dashboard Posts tab
- Add a custom field when adding / editing a page / post in admin panel
- View all comments on post one click
- wordpress wp-admin/includes/shema.php file has been modify alone
- Broken Customizer page
- I can’t access my wp admin dashboard
- wp-admin going directly to 404
- Login issue with subdomain installs
- Redirect from wp-admin back to page
- How can I can I make changes to a WP project I pulled from GItHub?
- WordPress critical error on wp-admin page with 100% permissions
- WordPress Redirects to a cancelled domain, need to change it but can’t get to the admin portal
- WordPress Admin Login Issue
- Add item to admin panel – w/o plugin & theme
- Wp-admin Redirection loop after moving to subdirectory
- site identity will not update [closed]
- Show only childs and grandchilds of certain post in admin
- Admin area is not loading properly
- WordPress logged in but no access to wp-admin
- Changed the path to wp-login and now can’t access WPress dashboard
- Why my login panel has a wrong language?
- Creating another wordpress site as sub-domain of a wordpress site
- Mixed content and expired session issues with SSL and wp-admin
- Limit access to wp-admin but still be able to log in from different locations?
- Is it possible to change the images source that are shown in the admin side?
- Using query string on edit CPT page
- $current_screen if condition for a specific page in admin
- Working with post values in the admin panel
- wordpress login blank screen [closed]
- All of my WordPress sites have Bold Open Sans
- wp-admin blank page after admin login and all security off
- Can a wordpress admin see my failed Login attempts?
- WP-Admin not reachable
- How Can I Prevent Admin User Role Loss?
- Only Admin receives email
- is exposed wp-admin site a serious security vulnerability
- fails upload images in posts + wp-admin/upload.php 403 error