WordPress.org

Ready to get started?Download WordPress

Forums

Workflow from localhost to web-server (4 posts)

  1. theodorlindekaer
    Member
    Posted 1 year ago #

    Hello,

    I love to do my theme development on localhost (xammp). I have some questions regarding workflow:

    1. How do you work from localhost to server? I find it very troublesome to upload my theme to the web-server and make sure to import the pages, posts etc. and change the image URL and... How is your workflow?

    To me, uploading only the most final version works. I am searching for a good method to develop on localhost and still check it out on the web-server once in a while.

    I would love to hear you guys' experiences and thoughts on this!

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Use a test site where you can upload your work as it progresses.

  3. lucaswxyz
    Member
    Posted 1 year ago #

    What I do, and it is a little "old tech" is to use an FTP to upload all the files first.
    Then, using PHPMyAdmin on MAMP export the local database and then edit it on Coda (you could use any text editor).
    What I do is a simple search & replace:
    Search: http://localhosts:8888/name_of_local_site/
    Replace: http://domain.com/

    Be sure that if your search includes the last "/" your replace must have it too!

    I learned this from Smashing Magazine's tutorial

    I don't use a test site since I work a lot with the SEO of the site, and I know of people that did that and ended up having lots of trouble because google index the test site and higher than the real site.

  4. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    I know of people that did that and ended up having lots of trouble because google index the test site and higher than the real site.

    That's because you ask search engines to index your site. Keep it private and if needed use noindex,nofollow for test sites.

Topic Closed

This topic has been closed to new replies.

About this Topic