scorendesign
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Where to develop a siteThanks.
When transferring the site to the client’s hosting, should I anticipate any (technical) issues moving the site and database?
Are there best practices in setting things up on your server to avoid having technical issues when moving?
Forum: Fixing WordPress
In reply to: Advice: Development SiteOthers must do this “offline.” How do you plan for developing in one place and moving the site/database to another? What’s the best approach?
Forum: Fixing WordPress
In reply to: Website development, general QThanks.
Forum: Fixing WordPress
In reply to: Website development, general QThanks.
Forum: Fixing WordPress
In reply to: Website development, general QSo, should my approach to updating content be to have my client select Edit Page and use the Visual Editor to make changes to that page?
Forum: Plugins
In reply to: FormBuilder Plugin 1.0.5 and Auto Fill ProblemI cleared my browser’s history cache, and that solved the problem on my computer.
But why could other users report seeing my auto fill content in their browsers?!!!
Forum: Fixing WordPress
In reply to: Page, cloneThanks.
Forum: Fixing WordPress
In reply to: Page, cloneThanks. I must have the plugin because I see “Clone” and “New Draft.” I’m still confused though. If I clone the page, is it a completely separate entity? Changes to the clone will not effect the original?
Forum: Fixing WordPress
In reply to: Page, cloneCan someone please point me to WP documentation about this? Thanks.
Forum: Fixing WordPress
In reply to: Moving siteThe end.
Forum: Fixing WordPress
In reply to: Moving siteIn rereading Moving WordPress, I found some helpful info about reinstating a URL. Still doesn’t explain the problem I was having, but explains various options:
If you have accidentally changed your WordPress site URL
Suppose you accidentally changed the URIs where you cannot move the files. (but still can access the login page, through a redirection or something)
wp-login.php can be used to (re-)set the URIs. Find this line:
require( dirname(__FILE__) . ‘/wp-load.php’ );
and insert the following lines below://FIXME: do comment/remove these hack lines. (once the database is updated)
update_option(‘siteurl’, ‘https://your.domain.name/the/path’ );
update_option(‘home’, ‘https://your.domain.name/the/path’ );
You’re done. Test your site to make sure that it works right. If the change involves a new address for your site, make sure you let people know the new address, and consider adding some redirection instructions in your .htaccess file to guide visitors to the new location.Changing The Site URL also provides the details of this process!
Forum: Fixing WordPress
In reply to: Moving siteOK.
I removed the two update_option lines I had added to functions.php.
In the database, I went to wp_options and changed the siteurl back to my development site URL. Voila! My development site is up and working again.
I logged into the development site and went to Settings > General. The “WordPress Address (URL)” reflected the change. “Site Address (URL)” did not. So I made the same change there. Everything looks like it’s working.
No idea why the 2 “update_option” lines didn’t work.
No idea why the change to ‘siteurl’ in wp_options changed the WordPress Address (URL) and not the Site Address (URL).
Anyway, it’s back working.
Forum: Fixing WordPress
In reply to: Moving siteI see there have been past reports of “Fatal error: Call to undefined function update_option()” and the suggestion was to:
Take those two lines out . . .
In my case . . .
update_option(‘siteurl’,’https://stephencoren.com/CC-NewSite-Dev’);
update_option(‘home’,’https://stephencoren.com/CC-NewSite-Dev’);Then . . .
You’re going to have to go in via the database and fix the URLs in the WP_options table for siteurl and home.
Can anyone confirm this approach?
And I only see ‘siteurl’ in wp_options, not ‘home,’ so what about that?
Forum: Fixing WordPress
In reply to: Moving siteAny suggestions on what’s wrong with the code I added?
Did I do something wrong?
Or is there something missing?
Forum: Fixing WordPress
In reply to: Moving siteI added the lines shown above to functions.php as follows:
<?php
update_option(‘siteurl’,’https://stephencoren.com/CC-NewSite-Dev’);
update_option(‘home’,’https://stephencoren.com/CC-NewSite-Dev’);
/**
* Main WordPress APIWhen I try to login, I get:
Fatal error: Call to undefined function update_option() in /home3/sacoren/public_html/CC-NewSite-Dev/wp-includes/functions.php on line 2
Suggestions?