Answer the question
In order to leave comments, you need to log in
Uploading a site from cms wordpress to hosting, why did everything fly?
Good day. I designed the site according to the layout, put it on cms wordpress, everything is fine on the local server, uploaded the site to free hosting 000webhost by archiving the entire wordpress with my theme, but everything on the site flew off (pictures, posts, fonts). I also loaded the database through phpmyadmin, the database got up without problems. Apparently, the hosting refuses to understand php or does not open wordpress correctly, how can this be solved?
Answer the question
In order to leave comments, you need to log in
Can't say for sure without a link. but something tells you that you made full/absolute paths to fonts and pictures, but you needed relative
I agree with Arik. Lots of options. From connecting the database (not import, but connection) to the paths and version of php. Try to put the latest stable version of php in your hosting console (7.1 like), update WP to the latest version, and carefully analyze your theme for relative paths, and self-written plugins (if any)
Did you change the paths in the database dump? Let's say you had http://localhost on the locale, and the test domain was test.example.com. The peculiarity of WP is that it writes absolute paths to files in the database. Try using a text editor to replace all localhost with test.example.com
It was like this for me when I just transferred it manually - I copied it via FTP. Transfer using the Duplicator plugin, it correctly changes the domain name and everything will work.
in the folder with the site there is a file wp-config.php where the user settings for the database (database username) and the name of the database server host, user password are stored. Change them to those provided by the hosting.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question