• Hi I’m building a site that I want to offline on localhost urls. Now thats fine. But when the user gets and emails it has the localhost link. I need to change it to the live website link or obviously they won’t get to where i want them to go.
    Is way to do this?
    I’m also reading into mysql replication to keep my two databases in sync and feedback on that would be appreciated also.

    Doing it this way as I am a contractor and I am using sprout invoicing plugin so i basically will be using a tablet to do my invoicing on the job site and I don’t want weak web connection to affect the operation of the site. I understand php / javascript / I’m new to wordpress but its starting to make sense.

    Thank you!

Viewing 3 replies - 16 through 18 (of 18 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, hopefully someone else will have other ideas for you.

    Thread Starter travbus

    (@travbus)

    Found a bunch of options

    http://www.phpclasses.org/package/1803-PHP-Synchronize-MySQL-database-copies.html

    php sync script.

    there is a migrate db pluggin which would also work.

    navicat app running in the back ground doing backups every 5 min

    master to master mysql replication but my live server won’t let me access this

    so probably go with the free php script

    Thread Starter travbus

    (@travbus)

    i fixed my email issue made a virtual host now my urls in my emails are linking perfectly to my live site. Its a must that your domain name is not the same as your mysql host name that got me a little frustrated as the php sync script was trying to connect to my local server.

    modified the php script to sync databases on update.

    using postman stmp pluggin which has a email log which can be resent when local site is back online
    going to make a one click button sync for everything now just to make sure everything stays synced when I go back online

    I’m glad that worked out or I would have been breaking things

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Change url's to links on out going emails’ is closed to new replies.