If this is a single WordPress install, there are a couple database entries with your old domain. Specifically, siteurl
and home
within wp_options
.
That said, if the dev URL is temporary, you can also set the following two constants in wp-config.php
:
define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);
define('WP_SITEURL', WP_HOME . "https://wordpress.stackexchange.com/");
Provided that WordPress is installed in the root of your website.
Related Posts:
- Wrong canonical link on wp-admin pages
- Login to wp-admin “redirect_to” points to wrong URL after migration
- Remove HTTP: from the site URL and just keep // in it
- Retrieve Path of admin.php
- Wrong wp-admin URL
- Not Found (404) error on admin page, CSS gone on blog
- Why is server preventing admin styles? (Was: Where are WordPress sessions saved?)
- new subdomain to apply as main domain
- How to access wordpress from domainB which is installed at domainA
- How can I change block editors suggested links to display another url (i.e. from api.mysite to www.mysite)
- WordPress switch domains
- ‘Too many redirects’ error after changing site URL in WordPress [closed]
- How can you change the admin dashboard URL without symlinking?
- My wordpress site gets redirected automatically to the old site any known solution for this?
- Use a different domain for SSL
- How to list ALL Pages in the dashboard?
- Is there un-wp_autop function?
- Adding a menu item in the admin bar
- how to force caching of wordpress admin
- Slow admin – waits and is blocked for a long time
- Excerpt textarea missing on post editing page in admin panel
- How to disable 3.3 Tooltips?
- wp login redirects to homepage
- Dashboard links not working
- jquery UI in wordpress admin
- Displaying which Role the current user is assigned to
- Restrict access in wp-admin area?
- submit for review issue
- wp-admin does not redirect to dashboard
- Display $pagenow error notice on all admin pages
- Change WP-Login or WP-Admin
- Custom roles showing HTML entities in title form field
- How can I restrict a user to a specific item in the WordPress Admin? [closed]
- How to show postmeta in custom columns for the posts screen?
- disable a wp javascript on live website, but not on wp-admin page
- How can I remove the user avatar from admin toolbar?
- How to stop – Database Update Required – from happening again?
- using wp_sprintf at wordpress option page,
- Can’t login to Dashboard when changing site URL to HTTPS
- Limit access to wp_admin
- Remove All in One Pack from the admin bar
- Disable wordpress reordering functions in backend screen element
- transition_post_status not working via Quick Edit
- Enque script based on url paramater
- WordPress server change – slow admin login time for first time
- I can´t access my admin panel. I tried all possible solutions
- Blank page for wp-admin after i uploaded the website from my localhost to the live server
- Ajax solution similar to WP Categories functioning in Admin area
- Difference between admin and user admin
- Hooks: admin_footer and admin_print_footer_scripts not working?
- Editing edit-tags.php page in wp-admin
- What is the correct way to get only display plugin for Administrator Only
- displaying an error before update_post_meta
- firing function at login within class
- Browse Happy in 3.2
- How to break line / add to ADMIN menu
- WordPress admin page not found error
- Outputting something based on the presence of post variable in admin screens
- Use of domain name
- “Add New” button on custom post type grid
- Where is function to prevents non logged users access wp-admin?
- Registering for a domain on WordPress
- CSS of the admin panel
- Ajax requests from front-end with jQuery Fancybox
- Dismiss Admin Pointer Temporarily
- WordPress admin right sidebar isn’t working
- WordPress menu to change page title
- wp-admin blocking causing http error on uploads
- Disable some features in Admin
- DISALLOW_FILE_EDIT is false but I still am not able to edit files from the admin interface and the menus do not show up
- Don’t run code if in customizer or privew
- What hooks should you use to create a table only once?
- Custom admin menu order fails if slugs are complicated
- Redirect WordPress login for customers but not admin
- Cant access wp-admin
- Function to get a ‘post selector’ UI?
- Unable to open specific posts on WP Dashboard [duplicate]
- How to list newly ftp added HTML webpage under Pages section of wp-admin?
- Hi everyone, I have Problem with using wp_die()
- WordPress wp-admin Page
- How can I trigger a javascript function after a post update on edit post screen in wordpress admin panel?
- restrict admin panel sections to users
- how to set not to be logined in wp-admin except administrator?
- CSRF attack to create USER
- Disable flyout (popup) menus in backend
- WordPress, content editor default type
- Random HTTPs redirections at admin area in shared hosting
- WordPress Login for multiple sites
- How do I change the WordPress Address URL only and still login to wp-admin
- Blank sign in page
- add_post_meta displays in admin edit area
- Forcing WordPress Administration onto a separate SSL Host
- How to prevent Google adsense invalid impressions while performing admin tasks on my wordpress site?
- Action for opening edit page in admin?
- What is the point of new confirm admin email process?
- Couple questions about .htaccess, login page, updates
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Redirecting the user to the admin table area after publishing a post, getting an invalid response error?
- Degraded WordPress admin dashboard performance [closed]
- WordPress Localhost migration issue