Viewing 1 replies (of 1 total)
  • You are 301 redirecting the domain badgerscrossing.co.uk – this means, just forward the user to pailschild.co.uk. When doing this, there is no way to hide the URL.

    You need to make that domain the URL – you can’t just forward it to achieve your desired result

    1. Add the domain to your hosting account as a parked domain or addon domain pointing to the root directory of your site.
    2. Point your DNS A record and www record to your server’s IP address
    3. Change your WordPress URL to badgerscrossing.co.uk/site and Site URL to badgerscrossing.co.uk
    4. Copy (NOT MOVE!) the /site/index.php and /site/.htaccess into the root directory
    5. Open and edit your index.php and change the following and save the file.
    Change the line that says:
    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
    to the following, using your directory name for the WordPress core files:
    require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );

    NOTE: given this question, I am going to assume that you are not overly experienced in wordpress/web development so if I can give you one piece of advice – make sure badgerscrossing.co.uk is setup to point to the same root directory so that the WordpRess URL is badgerscrossing.co.uk/site otherwise, you’re going to have to update all your image urls inside wordpress content and remove the /site (which is a pain in the a**.)

Viewing 1 replies (of 1 total)

The topic ‘Setting up different domain name’ is closed to new replies.