Routing issues in wordpress

In a WordPress site, some data is getting fetched from a folder ‘uploads/slider’ using http_get function. However, the URL given in the function is ‘ws/slider/list’ and not ‘upload/slider’.

Now, the app is migrated to another server and the http_get code is returning 404 even though data is present in uploads/slider folder. Is there any place where we have to set the routing logic?
PS: I don’t have experience in WordPress.

Related posts

1 comment

  1. I’ve answered several questions of late that are similar to this. Often times migrating a database from one server to another will require serialization as the origin and destination have varying data string character counts.

    One solution is to perform a text based “search and replace” on the
    database dump, but this is likely to result in lost data, because a
    WordPress database likely includes serialized php objects, which are
    strings PHP uses to store complex objects as text data. A serialized
    string not only stores the value of a object but also its size (number
    of characters) therefore if the old and the new domains or URLs have
    different character counts, PHP will not be able to recreate the
    original object anymore.

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

Comments are closed.