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

  • Fiona the hippo's tragic death prompts Cincinnati Zoo to install new safeguards at Hippo Cove November 24, 2026
  • Venezuelan illegal immigrant arrested in Utah after soliciting assassination of Trump, DHS says November 23, 2026
  • California nursing student and mom arrested months after man’s body turns up in ravine: police November 23, 2026

RSS feed: Mark Levin Mark Levin

  • Look out – Democrats’ ‘affordability’ fix adds up to more inflation November 23, 2026
  • Sen Tim Sheehy: Iran uses any relief in pressure to buy time November 23, 2026
  • President Trump gave me the ‘opportunity of a lifetime’: Gov Sarah Huckabee Sanders November 23, 2026
  • November 20th, 2026 November 21, 2026
© 2026 Patriotic Federalist • Built with GeneratePress