Viewing 3 replies - 1 through 3 (of 3 total)
  • Step 9. 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' );

    They are talking about editing the index.php file ( which can be done through ftp )

    Now that WordPress is moved to loveandlightyogastudio.com, edit the index.php [line-17] file to point wp to the right blog header path which is supposed to be loveandlightyogastudio.com/wp-blog-header.php:

    require( dirname( __FILE__ ) . '/wp-blog-header.php' );

    Actually it should be much simpler than that….it doesn’t sound like the issue is that your WP install is in a subfolder, but rather currently using a subdomain, which is different.

    Did you setup the ‘work’ subdomain yourself? And pointed it to the folder on your server that houses your WP installation?

    If so, all you need to do is have your primary domain (the one with the www.) pointed to the same folder, and in your Settings>General, be sure that you change the blog settings so that the ‘work’ subdomain is not there, it should be www. instead.

    If you are not the person who setup your subdomain, possibly your website hosting company did it for you? If so, they can help you.

    Thread Starter Rorew

    (@rorew)

    I apologize for being dense, but this is the first time I’m doing this. I somehow created the work.loveandlightyogastudio.com URL for the wordpress design.

    The Work folder in under my public_html folder. (Does this information even help?

    I tried changing the settings>general for both the wordpress and site address and got a 404 error and didn’t know how to go back.

    Is this what I should follow?:
    Install WordPress in a subdirectory, such as /2015, /blog or /wp.
    In your root folder (not the subdirectory folder), download and open your .htaccess file.
    Add the following to your .htaccess file:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$
    RewriteRule ^(/)?$ blog [L]
    In the above code, change the “YourDomain.com” value to your root domain.
    In the above code, change the “blog” value to the subdirectory.
    Save and upload the .htacess file back to your root directory.
    Now when users to go your root domain (yoursite.com), it will automatically redirect to the subdirectory you specified. When you want to redirect to a new subdirectory, such as the conference site for next year, just update the .htaccess redirect code.

    Thank you for your patience with a novice! I feel like I’m making this much more complicated than necessary.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uploading new website that was build behind the scenes’ is closed to new replies.