Support » Plugin: All-in-One WP Migration » Theme templates scanned for URL rename?

  • Resolved Harm10

    (@harm10)


    Hi!
    I am currently experimenting with your plug-in to see whether it can be used to make regular test clones of a live site. So far so good!

    I noticed that an inline style code I use in one of my theme child files (a background: url code) was not changed. So my question is: are theme files also considered when doing URL rename? If so why was this inline not changed? Or should it have been a css file?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Yani Iliev

    (@yaniiliev)

    No, only the database is searched and replaced. On a separate topic, I do not recommend using inline css because it makes maintenance harder.

    Harm10

    (@harm10)

    Thanks for answering my query. I agree with your recommendation for inline css. But only scanning database seems to me something that should be reconsidered.
    As you know css files can hold URLs and template snippets handling meta codes that also can hold URLs are not that farfetched…….
    So would it all be possible to scan such files for the URL replacement?
    And how about .htaccess and caches made by W3 Cache?
    I would really appreciate to get at least some identifiers where an URL is found that could/should be replaced. Is this possible?

    Plugin Author Yani Iliev

    (@yaniiliev)

    It is possible but I have not seen enough use cases where it will be needed to do.
    I might be wrong.
    You could try adding it as a suggestion and see how many votes it will get.

    Harm10

    (@harm10)

    I have added the suggestion of the child theme files and the .htaccess.
    But what do you do with caching plugins when restoring? Clear them?

    Plugin Author Yani Iliev

    (@yaniiliev)

    For caching plugins, we recommend disabling them on export and enabling them on import.
    Most hosting providers include their own caching layer. You might not need a caching plugin at all.

    Harm10

    (@harm10)

    Thank you for answering. Can an user of your plug-in read these recommendations (like this one but also the https/http one of my other report) somewhere?

    Plugin Author Yani Iliev

    (@yaniiliev)

    Yes, you can find this information on plugin’s help site.

    Thank you. I had a quick glance at https://help.servmask.com/knowledgebase/all-in-one-wp-migration-user-guide/ but I did not find any pointers list (about my reported issues like what is replaced and what not and the SSL problem) in there.
    Or am I mistaken?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.