Problem:
When I upload wordpress website from localhost to hosting server, then theme options and widgets are break.
OR
How to upload wordpress website from localhost to hosting server?
OR
How to change website name in uploaded wordpress website ?
OR
After upload wordpress website widgets are goes, theme options are reseted.
OR
There what is proper way of wordpress website migration/transfer from one domain to another domain?
OR
OR
How to upload wordpress website just in 3 steps.
Solution:
In starting time of learning wordpress 1st 1 year I had feel that I do not know proper way of
uploading wordpress website to server because always when I had uploaded
then problems occurred like:
- Theme options are reset.
- Widgets are not shown on website page, also not in admin panel.
After some days I found that my way of uploading wordpress was wrong. There reason was I
made changes directly in SQL file that I import in Mysql server
at hosting server. Direct changes in SQL file changes website URL in
database, But not manipulates length of new string and database of
wordpress also stores length of strings. So, problems occurred at
website.
There is proper way of uploading WordPress website
STEP 1: Upload WordPress folder to hosting server, Create SQL file of your database and import on hosting server database.
STEP 2: Download a 'Search and replace PHP script' file from
upload
file to hosting server, open it in browser, change domain URL in
database. You may change any other things in database easily by this
tool.
STEP 3: Login to admin panel, go to permalinks page and save without any change.
No comments:
Post a Comment