• Hello,

    I have downloaded and installed my blog, but I can’t seem to map to my domain – I uploaded my wordpress files using a file called “consumer” and it was going through to https://www.consumerbitch.co.uk/consumer fine (although, something odd seems to be happening – it looks like it is not picking up my template (and now I am unable to log in?)

    I put this in my index page (where recently I had a “under construction” page that was working fine – and diverting back to my wordpress.com blog)

    <?php header(“Location:https://www.consumerbtich.co.uk/consumer/&#8221;); ?>

    so that people can just type in https://www.consumerbitch.co.uk

    and then I changed the urls in my settings panel – have i done something wrong, I have been trying to look up info for about 2 days, maybe I am just typing the key words in wrong! can anyone point me in the right direction?

    thanks in advance ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Just to understand you right, you’ve installed WP in a sub directory on your server so the path to the WP installation is now:
    https://www.consumerbitch.co.uk/consumer

    And you want people to go to top level and get redirected to your sub for the blog?

    If so, and assuming the installation is fully functional, you can do this in one of two ways:
    1) Create a standard index.html with a simple redirect command
    <head><meta http-equiv="refresh" content="0 url=https://www.consumerbitch.co.uk/consumer/"></head>
    This will automatically redirect to sub dir.

    2) Edit the index.php in the WP-dir file as follows:

    /** Loads the WordPress Environment and Template */
    require('./consumer/wp-blog-header.php');

    Then move the index.php to top level (www.consumerbitch.co.uk), and open the wp-admin (https://www.consumerbitch.co.uk/consumer/wp-admin/) and log in. Click on “Settings”. In the WordPress Address field it must be: https://www.consumerbitch.co.uk/consumer
    In the Blog address field it must read: https://www.consumerbitch.co.uk/

    Hopes this helps you. But as I said it requires the installation to actually work. So if it doesn’t, I’d delete it all, and dump the tables in the SQL, reinstall, make the modifications, and import from your old blog again.

    Thread Starter tassanie

    (@tassanie)

    hey thanks!I tried out option 1 and all i could see was what I had put into my index.html, so I tried option 2, and could only see what i had written in index.php – do I now need to do a re-install from fresh files?

    (I logged into admin, and when I clicked onto visit site, it went to consumerbitch.co.uk, but read as above)

    thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Domain Mapping’ is closed to new replies.