How do you build your wordpress sites?

Simon.P

Free Member
Dec 4, 2009
544
59
Do you build locally using something like XAMPP and then upload to host when complete or upload to sub-domain and place something in the robots.txt to stop search engines whilst it is being worked on and before its moved?
Happy new year!
 
A

arnydnxluk

Generally develop locally and deploy changes as required to production.

However for WordPress websites, which for me are always very simple, low traffic marketing websites, I'll often just edit/develop in production rather than having to deal with different environments. In this case, I'll use basic auth via .htaccess to restrict access to the website during development (on a preview.* or dev.* subdomain if necessary).

Happy New Year! :)
 
  • Like
Reactions: Simon.P
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,696
8
15,382
Aldershot
www.aerin.co.uk
I’ve got a development domain and just create sub domains for each new project. That way I can give clients a login so they can add their content and play with the various features.

Search engines are blocked using the checkbox in the settings.
 
  • Like
Reactions: Simon.P
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,696
8
15,382
Aldershot
www.aerin.co.uk
You don't any plugins to do this. In fact the fewer plugins you use the better.
 
  • Like
Reactions: Rainbinder589
Upvote 0

Simon.P

Free Member
Dec 4, 2009
544
59
You don't any plugins to do this. In fact the fewer plugins you use the better.

Maybe i am missing something, but on installation of wordpress you enter the url. So in my case at the moment that is: localhost or dev.mydomain.co.uk
When uploading to livedomain.co.uk some method is required to correct the urls within the site.
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,696
8
15,382
Aldershot
www.aerin.co.uk
Sorry, I misunderstood your post. Everything you need to know is here: https://codex.wordpress.org/Moving_WordPress

I use the duplicator plugin to move the site to the new server and then a search and replace plugin to update the database links. Both of these can be deactivated and uninstalled after moving the site.
 
  • Like
Reactions: Simon.P
Upvote 0

Alan

Free Member
  • Aug 16, 2011
    7,089
    1,974
    As per @fisicx I used to have a dev domain, but now I use localhost as I have converted my PC to Linux so it is a really fast way of building and more importantly easy to link xdebug to my IDE for easy PHP debugging.
    I also use duplicator plugin to release to live, it is simple and fast. There are other similar tools.
     
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,696
    8
    15,382
    Aldershot
    www.aerin.co.uk
    Yes, but they don't ignore the settings so it's all good. I've got a shedload of wordpress test sites that Google (and Bing) know nothing about.
     
    • Like
    Reactions: crackerjackcommerce
    Upvote 0

    g

    Free Member
    Jan 29, 2018
    226
    47
    Yes, but they don't ignore the settings so it's all good. I've got a shedload of wordpress test sites that Google (and Bing) know nothing about.

    Granted, major ones usually respect - and the ones which don't are usually so small as to be insignificant.

    Overall though, 'we should be ok, because it's dark and there's nobody around' is not a reliable method.

    :)
     
    • Like
    Reactions: arnydnxluk
    Upvote 0
    Overall though, 'we should be ok, because it's dark and there's nobody around' is not a reliable method.

    :)

    I would agree with this and it's an important point to make given that not everyone on UKBF is a professional. If you don't want major search engines indexing your website but don't mind people coming across it, the robots.txt method is fine. However for anything important, e.g. you don't want customers to ever see your development website for any reason, then you protect the website appropriately, i.e. username/password authentication or at least IP address whitelisting. It's not the purpose of robots.txt to protect anything considered to be private.
     
    • Like
    Reactions: Simon.P
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,696
    8
    15,382
    Aldershot
    www.aerin.co.uk
    All well and good, but many people won’t havd access to htaccess (a limitation of their hosting).

    So another simple method would be to install a ‘under maintenance ’ plugin or similar.
     
    Upvote 0

    g

    Free Member
    Jan 29, 2018
    226
    47
    All well and good, but many people won’t havd access to htaccess (a limitation of their hosting).
    So another simple method would be to install a ‘under maintenance ’ plugin or similar.

    It's a good point, and though I can only recall a very few instances, and from years ago, where even budget hosting didn't have such access, I'm sure some still exist.

    From memory, I think the password-protect plugin I've sometimes used would be of similar effect to the 'under maintenance' you mention.
     
    Upvote 0

    AWA Training

    Free Member
    Sep 7, 2016
    196
    19
    i followed some excellent online tutorials on how to develop a Wordpress site around an existing theme. I use 2016 for many of my sites. They are a bit clunky, but they are functional and they work.

    That said i have a local installation where i am learning the art of adding a background image, improving the overall feel without having to radically change it.

    Though i submit, due to the fact that one of these is doing well on Google i might hand it to an expert to develop it properly. Perhaps a task for next year.
     
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,696
    8
    15,382
    Aldershot
    www.aerin.co.uk
    2016 is now very dated. There are far better themes you can use. Don't bother with background images, thy don't add anything to the UX. The content is far more important (and your sites are badly lacking in this).
     
    • Like
    Reactions: AWA Training
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,696
    8
    15,382
    Aldershot
    www.aerin.co.uk
    That all depends on your content. Looking at both the sites in your signature I can see a whole load of things that could be improved. This would help with conversions and lead to a decision on which theme to use. The key thing to consider is how the site responds to tablet and phone use.

    I build my own themes so I'm not the best person to ask about theme suggestions. But I'd always go for simple layouts.
     
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,696
    8
    15,382
    Aldershot
    www.aerin.co.uk
    I can do but better if you ask for a website review. That way you will get the opinions of more people. But don't post this evening as very few people are around. Do it around 9am in the morning.
     
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,696
    8
    15,382
    Aldershot
    www.aerin.co.uk
    What I meant was for you to post on the UKBF Website Review forum. There are lots of things need attention on your sites. Some of them quite major.
     
    Upvote 0

    Neromare Works

    Free Member
    Feb 4, 2019
    55
    4
    Do you build locally using something like XAMPP and then upload to host when complete or upload to sub-domain and place something in the robots.txt to stop search engines whilst it is being worked on and before its moved?
    Happy new year!
    I quit doing that. A lot of times, when a website is completely built - a lot of things will break when moving. You'll need to manually change links from the local path to the new domain - from inside the phpMyAdmin, and it doesn't always works as expected. Some plugins break nonetheless.
     
    Upvote 0

    fisicx

    Moderator
    Sep 12, 2006
    46,696
    8
    15,382
    Aldershot
    www.aerin.co.uk
    You'll need to manually change links from the local path to the new domain - from inside the phpMyAdmin,.
    No you don’t. I use a search and replace plugin that does it all for me. Or the duplicator plugin that manages the move. Never had a website break moving it from one place to another.
     
    Upvote 0

    Neromare Works

    Free Member
    Feb 4, 2019
    55
    4
    No you don’t. I use a search and replace plugin that does it all for me. Or the duplicator plugin that manages the move. Never had a website break moving it from one place to another.
    It doesn't replace all strings. I've tried 2-3 different plugins, and every one of them replaces different strings. If you were a SPECIALIST, you should've known that. I won't even start arguing with you because pointless arguing is where you win. You are a "know-all." No hard feelings, just my observations about you.
     
    Upvote 0

    Kerwin

    Free Member
    Dec 1, 2018
    892
    192
    Now that most of the big initial bugs with Wordpress 5.0 have been fixed I'm quite happy with the new experience. I've just started work on a new blog, and I think I can do what I want pretty quickly with the new features.

    The only problem I have at the moment is where to host my video files. I've been told a Vimeo Pro plan is the way to go, but I might end up hosting the videos myself on my VPS.
     
    Upvote 0
    It doesn't replace all strings. I've tried 2-3 different plugins, and every one of them replaces different strings. If you were a SPECIALIST, you should've known that. I won't even start arguing with you because pointless arguing is where you win. You are a "know-all." No hard feelings, just my observations about you.

    Since you reopened this badboy.

    Maybe he has built his own plugin or happens to be using one that just works.
     
    • Like
    Reactions: fisicx
    Upvote 0

    Alan

    Free Member
  • Aug 16, 2011
    7,089
    1,974
    Maybe he has built his own plugin or happens to be using one that just works.

    Maybe it is because he knows what he is talking about and can read, it isn't difficult - it is in the documentation.


    You'll need to manually change links from the local path to the new domain - from inside the phpMyAdmin, and it doesn't always works as expected. Some plugins break nonetheless.

    This is completely wrong way of doing it. The correct way is covered in the support documents https://wordpress.org/support/article/moving-wordpress/
     
    Upvote 0

    Latest Articles

    Join UK Business Forums for free business advice