• slvhobbs

    (@slvhobbs)


    I already have a wp site up and running. I want to have another wp site as a subdomain. Is this possinle? Would it also be possible to secure the subdomain with a password while leaving the main wp domain open?

    I feel like this will be either very straightforward or very complex πŸ˜‰

    alll help appreciated!

Viewing 11 replies - 1 through 11 (of 11 total)
  • It’s very straightforward.
    So long as they share no files, all will be good.
    Just install as normal.

    moshu

    (@moshu)

    1. There are thousands of blogs on a subdomain.
    2. Protecting a directory or a subdomain with a password isn’t really a WP issue. Somewhere in your host’s documentation there should be guidelines about it. Or, you can just search Google to find a solution.

    Thread Starter slvhobbs

    (@slvhobbs)

    hmmm… maybe I sounded smarter than I am because I still can’t figure out the basics. My subdomain will be a wp blog that is a sub to another wp blog, so I’m having trouble with the not sharing any files bit.

    Where should I install wordpress? Obviously it should go to a seperate folder than but I’m not sure how do to that.

    …maybe this really is easy and I’ve been looking at this screen for too long πŸ™

    moshu

    (@moshu)

    subdomain or subdirectory?

    Edit. On a second thought… it doesn’t matter. You upload and install WP in the subdomain or subdirectory. I mean full install, all the WP files as you did first time. You can even use the same database, just change the wp_ prefix into something else for the second install.

    Thread Starter slvhobbs

    (@slvhobbs)

    Thanks Moshu… but I’m still having trouble.

    My host uses a control panel and when I made my first wp blog I uploaded everything to my root folder then went to my domain http://www.ficklefish.net and a message from wp came up to click “here” to begin installation. Which I did and all went smoothly.

    now.. my subdomain…

    I have the files uploaded into my subdomain folder but it won’t run the install. I tried launching the wp-admin-install in a browser but I got a weird page full of code that looks like this:

    __________
    wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.”); require_once(‘../wp-config.php’); require_once(‘./upgrade-functions.php’); $guessurl = str_replace(‘/wp-admin/install.php?step=2’, ”, ‘http://’ . $_SERVER[‘HTTP_HOST’] . dirname($_SERVER[‘PHP_SELF’]) ); if (isset($_GET[‘step’])) $step = $_GET[‘step’]; else $step = 0; header( ‘Content-Type: text/html; charset=utf-8’ ); ?>
    WordPress
    hide_errors(); $installed = $wpdb->get_results(“SELECT * FROM $wpdb->users”); if ($installed) die(__(‘
    Already Installed

    You appear to have already installed WordPress. To reinstall please clear your old database tables first.
    ‘) . ”); $wpdb->show_errors(); switch($step) { case 0: ?>

    ReadMe documentation at your leisure.’), ‘../readme.html’); ?>

    ___________

    If I go to my subdomain url I don’t get the fancy click “here” message from wp, but the index file that was automatically set up by my hosts control panel when I created the subdomain which said “this site reserved for http://www.writing.ficklefish.net”. SO.. I deleted that index file to see what would happen and now I get “403 forbidden”

    HELP!!!!!!

    something isn’t pointing somewhere…..

    any ideas?……… much appreciated!!

    moshu

    (@moshu)

    Don’t panic!
    The install should be run from here:
    http://www.writing.ficklefish.net/wp-admin/install.php
    but it gives a 404 not found error.

    Thread Starter slvhobbs

    (@slvhobbs)

    it’s there……everything is as far as I can tell, but it still isn’t running.

    moshu

    (@moshu)

    Is this a “real” subdomain or is it pointing to a directory like >> let’s say:
    http://www.ficklefish.net/writing ??
    I am afraid this latter one is the case and then the whole thing has to go in a different way… i.e. do not use the subdomain URi but the real one!

    If I have a wp blog on the main domain and want to add another to a subdomain do I only change the wp_ part on the config file or do I have the need to change every single file using the wp_?

    If you use the same database you should change only the table prefix (the wp_ part :). See also Installing_Multiple_Blogs

    Thank you. πŸ™‚

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘wp as a subdomain’ is closed to new replies.