What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

If changing the WordPress Address or Site Address locked you out, go directly to /wp-login.php, clear the site’s cookies, and then make home and siteurl agree on the complete intended URL. If you cannot reach the login form or it keeps redirecting, temporarily define WP_HOME and WP_SITEURL in wp-config.php, or correct the two rows in the WordPress options table. Those fixes address URL redirects; a separate PHP fatal error requires WordPress Recovery Mode.

Start with the direct login address

Being sent away from /wp-admin/ does not by itself mean the dashboard is broken. WordPress says that visiting /wp-admin/ while logged out redirects to the login page automatically. Open the authentication endpoint directly instead:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

https://your-domain.example/wp-login.php

Replace the example with the exact scheme, host, port and path that the site should use. If WordPress is installed in a subdirectory, retain that path, for example https://example.com/blog/wp-login.php.

If the form appears but reloads after you submit it, or you are returned to the login screen without an error, delete cookies for that domain and try again in a private browser window. A cookie created for the old host, HTTP scheme or path can keep an otherwise-correct login from sticking. Do not delete every browser cookie unless necessary; remove the affected site’s cookies first.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.

Understand what changed: siteurl versus home

WordPress stores two canonical URLs. They often match, but they have different jobs. A mismatch, an old host name, an HTTP/HTTPS disagreement or an incorrect subdirectory can create a redirect loop or send the login form to the wrong place.

Setting What it controls Correct value format Typical consequence of a wrong value
siteurl (WordPress Address) The address where the WordPress core files are installed. The full scheme, host and installation path, such as https://example.com or https://example.com/blog. Core requests, login redirects and administrative URLs point to the wrong location.
home (Site Address) The public address visitors use to reach the site. The full public scheme, host and path, such as https://example.com. Front-end links and redirects send visitors, including administrators, to an old or incorrect address.

Both values should include https:// when HTTPS is the intended scheme, and neither should have a trailing slash. For example, use https://example.com, not example.com/ or https://example.com/. If the site is deliberately served from a subdirectory, include that directory in both values where appropriate and still omit the final slash.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the recovery method that matches your access

Use the least invasive method that fits the symptom. A single-row correction is different from replacing old URLs throughout a database, and neither fixes a plugin that is producing a fatal PHP error.

Method Access required Scope Reversibility and backup Best fit
Direct /wp-login.php and cookie cleanup Browser only No stored values are changed. Fully reversible; no file or database edit. The dashboard is reachable but /wp-admin/ was assumed to be the problem, or an old cookie prevents authentication.
Temporary wp-config.php constants File access through hosting tools, FTP/SFTP or a file manager Forces the two canonical URLs for WordPress requests. Easy to remove, but it does not update the database. Back up the file first. You need a fast override while the database still contains old values.
Edit home and siteurl in the options table Database access through phpMyAdmin, Adminer or another database tool Changes the two canonical options only. Back up the database first; the edit can be restored from that backup. The values in the database are wrong and you want the database to remain authoritative.
WP-CLI search-replace Shell access and a working WordPress installation Can replace old URLs in content, serialized settings and plugin data across many records. Run a dry run first and keep a database backup; a broad replacement affects more than the two options. A move left old URLs embedded throughout the site.
WordPress Recovery Mode The recovery link delivered by WordPress, or the site’s recovery workflow Temporarily isolates a plugin, theme or custom code causing a fatal error. It does not correct home or siteurl; address the offending component separately. The screen shows a fatal error rather than a URL redirect.

Step 1: Test the login endpoint and clear stale cookies

  1. Open the intended URL followed by /wp-login.php. Use the final HTTPS host and any required installation path.
  2. Submit a known administrator login. If the form returns to itself, clear cookies and site data for that host.
  3. Retry in a private window. This distinguishes a browser cookie problem from a server-side redirect.
  4. After signing in, open /wp-admin/ from the same host and scheme. If it immediately changes to another domain, continue with the configuration or database steps below.

Do not diagnose a normal logged-out redirect from /wp-admin/ as a failure: WordPress intentionally sends unauthenticated requests to the login form. The problem is the destination being wrong, looping, or refusing to preserve the authenticated session.

Step 2: Temporarily force the intended URLs in wp-config.php

When you can edit the site’s files but cannot yet repair the database, add these definitions above the line that says to stop editing:

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );

Replace the example with the exact final address. Include a subdirectory if WordPress core is installed there, and do not append a slash. If the public address and the core-file address are intentionally different, set WP_HOME to the public address and WP_SITEURL to the core installation address rather than blindly making them identical.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Save the file, then revisit /wp-login.php. These constants override the values read from the database for WordPress requests, so they can restore a usable login while the stored rows still contain the old URL. They do not rewrite those rows. Removing the constants later can therefore make WordPress revert to the old database values and appear to “break again.” Treat this as a recovery override, not the final data migration.

Keep the PHP syntax exactly as shown: quotes around the URL, a semicolon at the end of each definition, and no trailing slash in the URL. Make a copy of the original file before editing. If a syntax mistake produces a blank page or PHP error, restore that copy or correct the malformed line through the same file-access method.

Look for an old RELOCATE definition while you are in the file. WordPress documentation warns that leaving RELOCATE in wp-config.php is insecure because, in some configurations, an attacker could change the site URL. Remove that temporary setting once it is no longer needed.

Step 3: Correct the database’s home and siteurl rows

Once you can reach a database tool, make the database authoritative. Back up the database before changing anything; a mistaken host, path or table can affect every request.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
  1. Open the database used by this WordPress installation in phpMyAdmin, Adminer or the equivalent tool supplied by your host.
  2. Find the WordPress options table. Its name is often wp_options, but the prefix can be different, such as abc_options. Use the prefix shown in wp-config.php; do not assume it is wp_.
  3. Filter the option_name column for exactly siteurl and home.
  4. Edit each row’s option_value to the intended full URL, including https:// when HTTPS is canonical and excluding the trailing slash.
  5. Save both rows, then clear browser, plugin and CDN caches before testing a fresh private-browser session.

A typical pair for a root installation is:

option_name Example option_value
siteurl https://example.com
home https://example.com

For a subdirectory installation, the value might instead be https://example.com/blog. The correct value depends on where the site is actually served; do not add or remove a path merely to make the two strings look alike.

If you added WP_HOME or WP_SITEURL earlier, leave them in place while testing the database correction. Once the database contains the correct values and login works, remove those temporary definitions and test again. This confirms that the stored settings, rather than the override, are now supplying the address.

Step 4: Replace old URLs across the site with WP-CLI

Changing two options fixes the canonical addresses, but it does not automatically rewrite URLs stored in posts, menus, widgets, serialized settings or plugin data. For a broader migration, use the WordPress-aware WP-CLI command rather than a blind SQL replacement so serialized values can be handled correctly.

From the WordPress installation directory, run a dry run first:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
wp search-replace 'https://old.example' 'https://example.com' --dry-run

Review the reported tables and replacement counts. Check that the old and new values include the right scheme, host and path. If the preview is correct and you have a current database backup, run the same command without --dry-run:

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
wp search-replace 'https://old.example' 'https://example.com'

Use this broader operation only when old URLs genuinely remain beyond home and siteurl. A single-row edit is safer for a simple login redirect. A replacement across every stored record can alter content or plugin settings that intentionally reference another domain, so inspect the dry-run output instead of accepting a large change blindly.

After the replacement, clear caches and test links, media, forms and administrator screens. If the site uses a different old path, include that path in the search string and choose the replacement path deliberately; changing only the host while leaving an obsolete directory can produce another round of redirects.

Step 5: Use Recovery Mode only for a fatal PHP error

WordPress Recovery Mode is a separate recovery path from correcting URL values. It was introduced in WordPress 5.2 and can provide a safe login session when a plugin, theme or custom code causes a fatal PHP error, without requiring FTP or direct code editing in some cases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the recovery link supplied by WordPress when the screen or email identifies a fatal component. Once inside the protected session, deactivate or repair the named plugin, theme or custom code, then test the site normally. Recovery Mode will not fix a redirect to the wrong domain, an incorrect home value or a cookie loop. If the visible symptom is a PHP fatal error, solve that component first; if it is a redirect, follow the URL recovery steps instead.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Verify the repair after login returns

Do not stop at a successful password submission. Confirm that the address is correct throughout the request chain.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
  • Remove temporary WP_HOME and WP_SITEURL definitions after the database holds the intended values.
  • Open the front end and /wp-admin/ in a fresh private-browser session.
  • Confirm that links, forms, media and dashboard assets use the intended host, path and HTTPS scheme.
  • Clear browser data for the site, then purge WordPress plugin caches and any CDN or reverse-proxy cache.
  • Test a normal administrator login after the private-window test succeeds.
  • Check the browser’s final URL after each redirect. A change from HTTPS to HTTP, a second hostname or an added directory identifies the layer still supplying the wrong value.

Troubleshoot the remaining symptoms

The login keeps redirecting to the old domain

Recheck both options-table rows and any WP_HOME or WP_SITEURL definitions. A temporary constant wins over the database, so an old constant can make a correct database edit appear ineffective. Also inspect host-level redirects in Nginx or Apache, CDN rules and reverse-proxy configuration. WordPress can be correct while the web server sends every request to the former host.

The form reloads and never keeps the login session

Clear cookies for the affected host and retry privately. Then compare the scheme and host in the login page, the submitted form and the final dashboard URL. Mixed HTTP/HTTPS values, a proxy that does not pass the original HTTPS state, or a redirect between two hostnames can invalidate the authentication cookie even when the password is correct.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The site or dashboard returns a 404 after the URL edit

Verify the installation path in siteurl and the public path in home. A root installation should not acquire a directory merely because the old site used one, and a subdirectory installation should not lose its directory. Once the values are correct, clear caches and test the direct /wp-login.php path that matches the installation.

The front end works but dashboard links point elsewhere

That pattern usually means the public address and core-file address are not aligned with the intended deployment. Compare home, siteurl, WP_HOME and WP_SITEURL as a set, including scheme and path. Correct the database rows, remove stale overrides, and then test both the front end and administrator links from a new session.

Old links remain after correcting the two rows

The two canonical options do not cover every URL stored in content or plugin data. Use WP-CLI’s dry-run search-and-replace workflow for a deliberate site-wide migration, and review the affected tables before committing it. Do not use a broad replacement when the only problem is a single wrong canonical option.

The change works briefly, then reverts

Check whether a deployment script, environment configuration, hosting panel or persistent wp-config.php override writes the old value back. Remove obsolete recovery constants only after confirming the database values, and inspect caching layers that may continue serving redirects generated before the repair.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prevent the next URL lockout

  • Back up both files and the database before changing a production URL.
  • Perform the change on a staging copy first, including the final HTTPS certificate, host and subdirectory path.
  • Record the old and new values for home, siteurl, WP_HOME and WP_SITEURL so you can reverse the change accurately.
  • Use a dry run before any WP-CLI replacement that touches many tables.
  • Plan cache purges and a private-window verification as part of the change, not as an afterthought.
  • Remove temporary recovery constants and any RELOCATE setting when the repair is complete.

The durable fix is consistency: the database, configuration file, web server, proxy and caches must all agree on one intended scheme, host and path. When they do, /wp-login.php authenticates normally and /wp-admin/ performs its expected redirect for logged-out visitors.

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.