Viewing 3 replies - 1 through 3 (of 3 total)
  • How did you copy from the local dev site to the live site?

    When you move a site, you must replace the old URLs and paths with the new ones. Some of these are stored in the database in ‘serialized’ form where the string length is stored along with the string. You must use special tools to search and replace the old values with the new ones.

    If you replace an old URL with a new one of a different length, it will break the serialization, causing many different problems.

    If the old site is still available, you can use the steps shown in this article to copy the site: https://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    If the old site is not available, and you still have a copy of the database from that site, you should be able to use this tool to make the changes: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Thread Starter aquapan

    (@aquapan)

    Thanks for your help although I think you have misunderstood me.

    I only moved plugins and all the references in the plugins are relative to server so what you have mentioned isn’t the issue I am encountering.

    For unknown reasons the output from these plugins on a live web server is plain text when the same plugin on my localhost is interpreted by the browser correctly.

    The plain text is all right ie it is exactly what the plugin should output but it seems like the browsers are suddenly not interpreting the text to build a page.

    This stumped me so I reported here to see if some other guru can help.

    Thread Starter aquapan

    (@aquapan)

    Ok… this is solved. It was my caching plugin making things not work.

    I added my new pages to “do not cache” and we are all good now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My Custom Page Appears As Text On Live Server But Ok On Localhost Dev Server?’ is closed to new replies.