Wordpress routing issues

On a WordPress site, some data is retrieved from the uploads / slider folder using the http_get function. However, the URL specified in the function is "ws / slider / list", not "upload / slider".

Now the application is transferred to another server, and the http_get code returns 404, even if the data is present in the uploads / slider folder. Is there a place where we need to set the routing logic? PS: I have no experience in WordPress.

+4
source share
1 answer

Recently, I have answered several questions similar to this. Often, reconfiguring the database from one server to another requires serialization, because the source and destination have different values ​​for the characters in the data string.

One solution is to perform a “search and replace” based on text on a database dump, but this can lead to data loss, since the WordPress database probably includes serialized php objects, which are strings used by PHP to store complex objects in the form of text data. A serialized string not only stores the value of the object, but also its size (character number), so if the old and new domains or URLs have different character values, PHP will not be able to recreate the original object anymore.

http://pixelentity.com/wordpress-search-replace-domain/

0

All Articles