zmoneyent
Forum Replies Created
-
Quick fix method
If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.
1. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple 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’,’https://example.com/blog’);
update_option(‘home’,’https://example.com/blog’);Use your own URL instead of example.com, obviously.
3. Upload the file back to your site, in the same location. FileZilla offers a handy “edit file” function to do all of the above rapidly, if you can use that, do so.
4. Load the login or admin page a couple of times. The site should come back up.
5. Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.
If there is no functions.php file in the theme: Create a new text file called “functions.php”. Edit it with notepad, and add this text to it, using your own URL instead of example.com:
<?php
update_option(‘siteurl’,’https://example.com/blog’);
update_option(‘home’,’https://example.com/blog’);Upload that to your theme directory, then proceed as stated above. Remove the file afterwards
Fixed it with that method!
This is resolved. Thanks allot peoples, wordpress got nice support for nubs like me =)
I was ignorant, I researched it afterwards and relized that I really screwed it.
I’ll use these tutorials as a guide but my host is very hard to get hold of. I’ll try these thanks.
Thanks man.
Can some 1 give me some help. I don’t got no backups ??
I’ll also be waiting
Forum: Fixing WordPress
In reply to: (wordtube) How do I put the video playlist in the sidebar?I have this same exact problem.
I just simply changed my permalinks and everything is screwed. Simple thing and I can’t even access the admin settings to change it back.
I had https://audacity.ubercrue.com/blog
Changed it to
https://Blog.Audacitysounds.com
This would have to be the worst bug I have come across…
Edit:
I uploaded a htaccess file because I didn’t even have 1
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Still doesn’t work can anyone explain or tell me part needs to be modified?