Answer the question
In order to leave comments, you need to log in
How to transfer Wordpress site from local server to hosting?
Hello. I watched the video at the link https://www.youtube.com/watch?v=26IVy-i0N3g&t=405s
and it said that the contents of the .htaccess file that is on the hosting should be copied and pasted somewhere. But what if this .htaccess file is missing? I found this file by searching, but the directory is public_html/wp-content/plugins/akismet/ and in the video this file is located in public_html. help me please
Answer the question
In order to leave comments, you need to log in
Search found this file but the directory is /public_html/wp-content/plugins/akismet/
and it said that the contents of the .htaccess file, which is located on the hosting, must be copied and pasted somewhere.
Can I create a .htaccess file?
In order to transfer all data from one (local) hosting to another (Internet hosting), you need to transfer:
- Database phpMyAdmin
- Files
To transfer files, you need to use a ZIP archive: ie. pack them on a local server, transfer them to another server, and unzip the files on another server using the unzipper.php script .
To transfer the database, open the database in phpMyAdmin on the local server, click Quick Export, save on your computer. Next, change all URLs in the database from local to the domain that you will use. Then save in the same encoding and in the same encoding as the database. Import into a new database, having previously created it. It remains only to change the connection parameters to the new database in the wp-config.php file
If you don't understand, read this article: https://moytop.com/sozdanie-sayta/perenos-sayta-wo...
There are not so many options, the main thing is to do it right, without breaking the serialized data during the transfer:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question