Skip to content

Patriotic Federalist

  • Main
  • Articles
  • Contact

WordPress Login Not Working After Making A Change to URL Address Under General Settings

September 1, 2012July 10, 2012 by Dwayne

After making a slight change under GENERAL – SETTINGS, my site crashed.

I removed the “wp” from WordPress Address (URL) and after updating, the site crashed.  Not cool.  There are a few ways to fix it, but the easiest way if you have FTP access to the site is:

1. FTP to your site and get a copy of the active theme’s functions.php file. Edit it in any vanilla text editor (like notepad) and upload it back to the site.

2. Add these two lines to the file, immediately after the initial “<?php” line.

update_option('siteurl','http://patrioticfederalist.com/wp');
update_option('home','http://patrioticfederalist.com/wp');

Replace with your own URL or course.

3. Upload the file back to your site, in the same location.

4. Load the login or admin page a few times. The site will come back up.

5. Repeat the above steps, but remove those lines. DO NOT leave those lines in there. Remove them immediately after the site is back up.

This and other alternatives are linked here.

Categories Wordpress Tags changed URL and login not working, Login not working, Site Address (URL), WordPress Address (URL), wordpress login not working
How to Remove Hard-Coded Home Tab (I had 2 HOME tabs after static page started)
Liberalism Defined

Calendar

November 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    

Categories

Archives

RSS feed: Latest News-Fox News Latest News-Fox News

  • FAA lifts ground stop on Atlanta-bound Delta flights after system outage November 22, 2026
  • Mississippi mother, caregiver face charges after refusing to give cancer treatment to toddler November 22, 2026
  • Illegal immigrant avoids charges after Florida grandmother killed outside grocery store, enraging family November 22, 2026

RSS feed: Mark Levin Mark Levin

  • November 20th, 2026 November 21, 2026
  • Texas Democrat Gov-Elect Gina Hinojosa Aims to Flood Government Jobs, Public Schools with Migrant Hires November 20, 2026
  • Inside the Dems Multi-Trillion Dollar Agenda, Sunday on Life, Liberty and Levin November 20, 2026
  • Clash of Civilization, Saturday on Life, Liberty and Levin November 20, 2026
© 2026 Patriotic Federalist • Built with GeneratePress