Support » Fixing WordPress » WordPress and add-on domains

  • Hi, I have WordPress install files stored in with the WordPress address URL as and blog address URL as .

    I have the index page at , using the following index.php code:

    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require($_SERVER[‘DOCUMENT_ROOT’] . ‘/blog/wp-blog-header.php’);

    and this .htaccess also in /crimea:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /crimea/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /crimea/index.php [L]

    # END WordPress

    now my question: I’ve just created an addon domain ( to point directly to, so going to is effectively the same thing (note it’s not a redirect). what would i have to do to get wordpress set up so that going to will show my index page as it does at the moment with ? would it just be a case of changing the blog address url to, changing $_SERVER[‘DOCUMENT_ROOT’] . ‘ to, and just getting rid of the .htaccess file altogether?


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WordPress and add-on domains’ is closed to new replies.