sterndata on "How to move wordpress from localhost to live site owned by freehosting.com"

ساخت وبلاگ

Firstly, I follow moving process as mentioned wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site
During this process, When I try to import .sql into cpanel it shows error as:

Error
SQL query:

--
-- Database: sresthasaroj
-- --------------------------------------------------------
-- Table structure for table wp_commentmeta
--
CREATE TABLE IF NOT EXISTS wp_commentmeta (

meta_id BIGINT( 20 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
comment_id BIGINT( 20 ) UNSIGNED NOT NULL DEFAULT '0',
meta_key VARCHAR( 255 ) DEFAULT NULL ,
meta_value LONGTEXT,
PRIMARY KEY ( meta_id ) ,
KEY comment_id ( comment_id ) ,
KEY meta_key ( meta_key ( 191 ) )
) ENGINE = INNODB DEFAULT CHARSET = utf8 AUTO_INCREMENT =1;

MySQL said: Documentation
#1046 - No database selected `

So that started searching, somewhere i found i need to change 'site url' at settings -> general. After this, still does not work. Then, i configure 'wp-config.php' on server file to database name, useame and password recently created at cpanel. But, still does not work. Instead, more problem araises:
Now, even localhost/wordpress doesnot load fully. especially content and sidebar.
It shows: Not Found
Apologies, but the page you requested could not be found. Perhaps searching will help.
But, even more shocked when i clicked in any menu at localhost it leads me to the real site. sresthasaroj.com.np
And, now am in real trouble. Even localhost wordpress does not load.
Please, Help me. Totally Lost.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 191 تاريخ : جمعه 10 ارديبهشت 1395 ساعت: 3:29