WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing WordPress Address (8 posts)

  1. alexanderrmorrow
    Member
    Posted 6 years ago #

    Hello everyone! I'm hoping someone can help me with a problem I have encountered. Recently, I installed WordPress on my server. However, the blog address is http://www.mydomain.com/wordpress/. How do I change the blog address to http://www.mydomain.com?

    Thanks a million!

  2. alexanderrmorrow
    Member
    Posted 6 years ago #

    So i found this tutorial, but I can't find the .htaccess file in the WordPress folder. What gives? Where is it? Please help!

  3. WebFadds
    Member
    Posted 6 years ago #

    Hello Alexander -

    A couple of solutions:

    1. Move your WordPress installation from the directory it is now in (/wordpress) to the top level directory for your site.

    2. Program in a way to forward the domain to your WordPress index page. There are a couple of ways to do this.

    You can contact me at WebFadds.com if you need to.

    Best...

    - Scott
    [signature moderated. Please resist the urge]

  4. Chris_K
    Member
    Posted 6 years ago #

    If you go with Scott's option 1, have a look at Moving_WordPress first.

  5. alexanderrmorrow
    Member
    Posted 6 years ago #

    How do I program it to forward the domain to my wordpress index page? I've read the directions and they don't seem to help. I can't find the .htaccess file.

  6. alexanderrmorrow
    Member
    Posted 6 years ago #

    bump.

  7. MichaelH
    Member
    Posted 6 years ago #

    Assuming the WordPress files are in a folder called wordpress in your domain root folder, to make WordPress available at http://sample.com just change in Options-General, the Blog address (URL) to http://sample.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wordpress/wp-blog-header.php');
    ?>

    Then update your permalinks in Options-Permalinks.

    This particular setup is described at: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

  8. MichaelH
    Member
    Posted 6 years ago #

    Email received from alexanderrmorrow stating he solved his problem. Marking as resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic