Support » Fixing WordPress » New Site for Client Question!

  • Resolved NorfolkUK

    (@norfolkpete)


    Hi there,

    This may seem a basic question to many however I need to ask anyway πŸ™‚

    I have designed WP sites for a few years now however never had to sort a site for a client where they have an existing, none WordPress website hosted with someone else.

    I have always worked with people that did this kind of thing hence I never bothered seeing what and how the did what they did.

    In short, a client has a none WP website and this is hosted with a small web company, the client would like a WP website and host it themselves.

    Sure easy enough to help them get a host and set up webspace on their behalf.

    Is it a case of building a WP website on the clients new host and webspace and when ready re-pointing the domain?
    I used to hear the tech guys I worked with talk about this but wasn’t anything to do with me hence my uncertainly.

    The client owns the domain so the other biz I guess only need to authorise the domain transfer from them to the clients?

    Am I right in thinking the above?

    If not any advice would be great.

    Thanks, P

Viewing 8 replies - 1 through 8 (of 8 total)
  • I believe you should be able to simply add a domain.com/wordpress/ folder and then go directly to it and do just as always. Then later you can either “move WordPress to root” or just use something like this to send the primary URL to it without having to change anything at all within WordPress:

    ## from https://my.bluehost.com/cgi/help/347#redirect
    # .htaccess main domain to subdirectory redirect
    # Do not change this line.
    RewriteEngine on
    # Change example.com to be your main domain.
    RewriteCond %{HTTP_HOST} ^(www.)?example.com$
    # Change 'subdirectory' to be the directory you will use for your main domain.
    RewriteCond %{REQUEST_URI} !^/subdirectory/
    # Don't change the following two lines.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    # Change 'subdirectory' to be the directory you will use for your main domain.
    RewriteRule ^(.*)$ /subdirectory/$1
    # Change example.com to be your main domain again.
    # Change 'subdirectory' to be the directory you will use for your main domain
    # followed by / then the main file for your site, index.php, index.html, etc.
    RewriteCond %{HTTP_HOST} ^(www.)?example.com$
    #RewriteRule ^(/)?$ subdirectory/index.html [L]
    ## index.php for WordPress
    RewriteRule ^(/)?$ subdirectory/index.php [L]

    Morning leejosepho

    Thanks for your speedy reply.

    Sorry, not getting you ref above? I guess this is something very simple to those of you in the know πŸ™‚

    I believe you should be able to simply add a domain.com/wordpress/ folder and then go directly to it and do just as always.

    What do you mean by this? Add domain.com/wordpress/ folder to what? On the new hosting and webspace?

    Then later you can either “move WordPess to root” or just use something like this to send the primary URL to it without having to change anything at all within WordPress:

    This seems a tad complex however am I over-thinking this as I often do?

    Thanks

    a client has a none WP website and this is hosted with a small web company, the client would like a WP website and host it themselves.

    Does “host it themselves” equal “small web company”?

    Unzip a WordPress download and then copy its /wordpress/ folder into the directory where that site is located and its domain url lands, then set up your database at the server and make your wp-config file just like always and then go to domain.com/wordpress/.

    The latter part about “moving WordPress” is what can be complicated, and the .htaccess I have posted is a very simple way to redirect a domain in place of that.

    Ahh right.

    host it themselves

    This means, their live website is hosted by this small web biz they have fallen out with. It is that biz that has sorted the hosting out and charging them a small fortune a year for the privilege.

    I proposed I help them buy their own hosting and space 1&1, Host Gator, GoDaddy etc. They pay and have control of their hosting and site.

    We do not want to do ‘anything’ with their live site and where it is hosted as this other biz is a pain.

    Ideally we’ll set them up some hosting and webspace the client pays for, build a new WP site and I hope transfer the domain????

    Is it this simple? πŸ™‚

    I proposed I help them buy their own hosting…

    …build a new WP site and I hope transfer the domain????

    I believe it should be possible to secure hosting elsewhere and then use a temporary server URL — ask the prospective host — for your work until the time comes to actually change the nameservers for the client’s domain and send it on over. So yes, it is that simple, and then you will not have to be concerned about “moving WordPress” or doing any redirecting later on as long as you place the new installation at the default “public_html” or “htdocs” or whatever else the new host might call that location.

    Thanks very much for this, you’re confirming what I’m finding on Google even though much conflicts I am making sense of it with your additional advice.

    Just made a disturbing discovery, the small web company in question that built the clients site and hosts it, also the registered owner of the domain. Time to ask how much they have fallen out and if the domain is really that important.

    Knew this wouldn’t be straight forward πŸ™‚

    the small web company in question…also the registered owner of the domain.

    Oops, too many eggs in that basket!

    Hope it all works out.

    Yeah, to be fair the client really has no idea of this type of thing so the web company may have just done what they thought best at the time however this has left the client somewhat reliant on this company.

    Many thanks for your time and help πŸ™‚

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘New Site for Client Question!’ is closed to new replies.