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 tablewp_commentmeta
—
CREATE TABLE IF NOT EXISTSwp_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
) ,
KEYcomment_id
(comment_id
) ,
KEYmeta_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, username 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.
- The topic ‘How to move wordpress from localhost to live site owned by freehosting.com’ is closed to new replies.