Jump to content

How to transfer Processwire from local installation to online?


ashrai
 Share

Recommended Posts

@CliffG -

i've never had to do steps 5 or 6. 

Most if not all PW references in the database should be relative to the root;

the only thing that typically needs to be updated when moving a site would be a path that is stored by a module, for example admin custom pages stores the server path to the file it renders for the custom page, and those need to be reset when moving sites;

in CSS, there shouldn't be any URLs that would break when moving a site, they should be all relative to the templates folder.

you can also possibly avoid some of steps 5/6 by using vars which could be set in an _init.php, using a css.php for special rules that need to be generated on the fly, though i usually do those in the head since it's not that much.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...