LMonahos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: cant access dashboard, accidentally changed URLHi, I read this and added the following lines to functions.php to try to fix it:
update_option(‘siteurl’,’https://amerghin-music.com/wordpress’);
update_option(‘home’,’https://amerghin-music.com/wordpress’);Still not working. I see that your site looks like it has been fixed. Did you fix it by modifying functions.php?
Forum: Fixing WordPress
In reply to: Change URL and can no longer log inI changed the lines to the following, and am still getting the error on line 527, shown above, when I go to either https://amerghin-music.com/wordpress/wp-login.php, https://www.amerghin-music.com/wordpress/wp-admin/, or https://amerghin-music.com/wordpress/
update_option(‘siteurl’,’https://amerghin-music.com/wordpress’);
update_option(‘home’,’https://amerghin-music.com/wordpress’);Forum: Fixing WordPress
In reply to: Change URL and can no longer log inThanks, still not working though — I read the codex page and watched the video. I added two lines to functions.php and, at one point, I believe I briefly saw my website. But, only for a second (and I’m having doubts as to whether, perhaps, I’d just viewed a different tab and not actually seen it fixed on a page refresh).
I added these two lines after the initial “<?php” line:
update_option(‘siteurl’,’https://amerghin-music.com/blog’);
update_option(‘home’,’https://amerghin-music.com/blog’);I’m getting this error:
Fatal error: Call to undefined function sanitize_option() in /home/content/93/8288493/html/wordpress/wp-includes/functions.php on line 527Btw, my initial URL in WordPress “General Settings” was ‘https://amerghin-music.com/wordpress’ not ‘https://amerghin-music.com/blog’ (but I tried both many times).
Forum: Fixing WordPress
In reply to: Change URL and can no longer log inPlease help! I’m having the same problem.
I changed my URL in General Settings, and now 1) can no longer log in to my site 2) no longer can view my site with any CSS (i.e. my theme does not show up at all).