Free tools Windows power users keep installed
One-click scans. No signup required.
If changing WordPress Address or Site Address locked you out, open /wp-login.php directly, clear the site’s cookies, and then make home and siteurl agree with the URL you actually intend to use. If you cannot reach the login form, temporarily define WP_HOME and WP_SITEURL in wp-config.php, then correct the stored values in the database.
Antihost offers managed WordPress hosting with free migration, one-click staging and a 14-day free trial.
The steps below move from the least invasive check to database-wide URL replacement and the separate Recovery Mode path for fatal PHP errors.
As an Amazon Associate I earn from qualifying purchases.
Why a WordPress URL change can lock you out
WordPress keeps two canonical URL settings. siteurl is the address where the WordPress core files are installed. home is the public address visitors type and the address WordPress uses for the front end. They may be identical, but they serve different purposes.
| Setting | What it controls | Typical value |
|---|---|---|
siteurl (WordPress Address) |
Location of WordPress core files, including the administration code | https://example.com or an installation subdirectory such as https://example.com/wordpress |
home (Site Address) |
Public address visitors use for the site | https://example.com |
A lockout usually means these values, the WP_HOME and WP_SITEURL constants, or the server’s redirect rules disagree about the scheme, host, or path. For example, one layer may still use http:// while another forces https://, or one value may contain www while another does not.
#1 Best Overall
- [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
- [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
- [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
- [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
- [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
WordPress expects the complete URL, including https:// when HTTPS is in use, with no slash at the end. Thus use https://example.com, not example.com or https://example.com/. If WordPress is genuinely installed in a subdirectory, include that path in the setting that points to the installation.
Start with the direct login endpoint
- Open
https://your-domain.example/wp-login.php, replacing the example host with your intended domain. - If
/wp-admin/was the address you tried, remember that logged-out visitors are normally redirected to the login page automatically. A redirect to/wp-login.phpis therefore expected. - If the form keeps reloading, sends you in a loop, or a successful login immediately appears logged out, clear cookies and site data for the old and new host. Then close the browser tab and try a private window.
Do not begin by repeatedly retrying a password. A URL or cookie mismatch can prevent a valid authentication cookie from being accepted.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Choose the recovery method that matches your access
| Method | Access needed | Scope | Reversibility | Backup | Best fit |
|---|---|---|---|---|---|
Direct wp-login.php and cookie reset |
Browser | Login session only | Immediate; no site changes | Not required | Login page exists and the problem may be stale cookies |
WP_HOME and WP_SITEURL in wp-config.php |
File access | Overrides the two canonical URLs while the constants remain | Remove the lines to undo | Back up the file | Database values are wrong and you need a quick route back in |
Edit home and siteurl in the options table |
Database access | Two canonical options | Edit the rows again to reverse | Database backup required | The stored values themselves must be corrected |
WP-CLI search-replace |
Shell access and WordPress root | Many records, including content and plugin data | Repeat the reverse replacement if needed | Database backup required | Old URLs remain throughout the site after the canonical rows are fixed |
| Recovery Mode | Recovery email link and browser | Faulty plugin, theme, or custom code causing a fatal error | Disable or repair the offending component | Back up before code changes | A fatal-error screen, not a URL redirect loop |
Force the intended URL temporarily in wp-config.php
Use this method when you can edit files through hosting file management, SFTP, or another file-access method but cannot use the dashboard. Make a copy of wp-config.php before editing.
Rank #2
- 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
- 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
- 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
- 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
- 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
- Open the WordPress installation’s
wp-config.php. - Insert these lines above the comment that says to stop editing:
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );
- Replace the example URL with the exact intended scheme, host, and installation path. Do not add a trailing slash.
- Save the file and revisit
https://example.com/wp-login.php. - Clear cookies again if the browser still sends you to the old host.
These constants override the values stored in the database; they do not rewrite those rows. Treat them as a recovery measure, not a permanent substitute for correcting the database. Once the database is authoritative and correct, remove the temporary definitions. If you remove them while the old values are still stored, WordPress will revert to those old values and the lockout can return.
Correct home and siteurl in the database
Use this route when you have phpMyAdmin, Adminer, or equivalent database access. Back up the database first so you can restore the original values if a mistake is made.
Find the right options table
- Open the database used by this WordPress installation.
- Locate the options table. Its name is often
wp_options, but the installation may use a different prefix. - Search the
option_namecolumn for exactlysiteurlandhome.
Edit the two rows
- Set the
siteurlrow to the address where the WordPress core files reside. - Set the
homerow to the public address visitors should use. - Include
https://when HTTPS is the intended scheme, match the host spelling exactly, include a real installation subdirectory where required, and omit the final slash. - Save both rows, then test
/wp-login.phpin a private browser window.
If you prefer SQL and your table prefix is the default, the two updates have this form:
Recommended Free Tools
Rank #3
- [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
- [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
- [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
- [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
- [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
UPDATE wp_options
SET option_value = 'https://example.com'
WHERE option_name = 'siteurl';
UPDATE wp_options
SET option_value = 'https://example.com'
WHERE option_name = 'home';
Replace wp_options with the actual table name and use the correct value for each row if the core files and public site are intentionally at different addresses. Never run an update against an assumed prefix without confirming the table first.
Replace old URLs throughout the site with WP-CLI
Changing the two options fixes the canonical addresses but does not necessarily change URLs embedded in posts, menus, widgets, serialized plugin settings, or other database records. When the old address appears in many places, use the WordPress-aware wp search-replace command rather than a blind SQL replacement; WP-CLI can account for serialized data.
Run a dry run first
From the WordPress installation directory, with shell access and a recent database backup, run a dry run using the old and new values:
Rank #4
- Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
- Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
- All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
- Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
- Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
wp search-replace 'http://old.example' 'https://new.example' --all-tables-with-prefix --dry-run
Review the reported tables and replacement count. Include the exact old scheme, host, and path that actually occur in the database. If the site moved from a non-www host to a www host, that host difference must be reflected in the search string.
Apply the replacement
When the dry-run output is correct, run the same command without --dry-run:
wp search-replace 'http://old.example' 'https://new.example' --all-tables-with-prefix
Do not skip the backup. A broad replacement can affect plugin data and custom tables, and reversing it requires knowing exactly which old and new strings were used. Afterward, return to the options table and verify that home and siteurl contain the intended canonical values.
Best Value
Tell a URL problem from a fatal PHP error
A redirect loop, wrong-domain redirect, or login form that will not retain a session points toward URL, cookie, cache, or redirect configuration. A white screen or an explicit “There has been a critical error on this website” message is a different failure.
Use Recovery Mode for fatal errors
WordPress Recovery Mode was introduced in version 5.2. When WordPress detects a fatal error caused by a plugin, theme, or custom code, it can send the administrator a recovery link. That link creates a protected session in which the faulty component can be paused while you regain access and repair or remove it.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minute- Open the recovery email sent to the site administrator and follow its link.
- Log in through the protected session.
- Use the error details to identify the plugin, theme, or custom code responsible.
- Disable, update, or repair that component, then test the normal login in a fresh browser session.
Recovery Mode does not correct incorrect home or siteurl values. If the symptom is a redirect loop rather than a fatal error, use the URL recovery steps instead.
Fix redirect loops after access returns
Once you can log in, check every layer that can generate a redirect. Work from WordPress settings outward so that a hidden old value is not mistaken for a browser problem.
- Confirm that the database rows and any remaining
WP_HOMEorWP_SITEURLdefinitions use the same intended scheme, host, and path. - Check for mixed HTTP and HTTPS values. A site that is forced to HTTPS by the server but still stores HTTP in one canonical setting can bounce between addresses.
- Inspect reverse-proxy, CDN, Nginx, and Apache redirect rules for the old domain or an incorrect scheme. These rules can redirect before WordPress runs.
- Clear browser cookies, plugin caches, and CDN caches after changing the canonical URL.
- Test both the front end and
/wp-admin/in a private window, then test a normal administrator login. - View generated links and confirm they use the intended domain, path, and HTTPS scheme. If only some links are wrong, search-replace may still be needed for stored content or plugin data.
Security cleanup after the repair
Remove temporary URL constants from wp-config.php after the database contains the correct values. Also remove any emergency RELOCATE constant you may have added while troubleshooting. WordPress documentation warns that leaving RELOCATE in the file can be insecure because, in some configurations, an attacker could change the site URL.
Keep the backup until you have confirmed that the front end, login, media links, administrative links, and any reverse-proxy or CDN cache all work from a new session. Then store the backup securely according to your normal retention policy.
Quick Recap
A concise recovery checklist
- Open
/wp-login.phpdirectly. - Clear cookies for both old and new hosts and test privately.
- Back up the database and any file you will edit.
- Temporarily define
WP_HOMEandWP_SITEURLif file access is available. - Correct the
homeandsiteurlrows in the options table. - Use WP-CLI with
--dry-runbefore replacing old URLs across many records. - Use Recovery Mode only when a fatal plugin, theme, or code error is the cause.
- Remove temporary constants, clear caches, and inspect server-level redirects.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




