WordPress.org

Ready to get started?Download WordPress

Forums

I don't want "/wp" as part of my web address (3 posts)

  1. smberer
    Member
    Posted 1 year ago #

    Hi. I just started editing a WP theme I bought. I see that as I customize the theme, my site's web address is http://www.musexplore.net/wp. I would like it to simply be http://www.musexplore.net.
    I followed the directions at "Giving WP its own directory,
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    but the directions at step 6 aren't clear to me:
    Change the following and save the file. Change the line that says:
    require('./wp-blog-header.php');
    to the following, using your directory name for the WordPress core files:
    require('./wordpress/wp-blog-header.php');

    I changed the line index.php to ('./musexplore.net/wp-blog-header.php')
    and now I'm getting the following message when I try to view my site (along with 2 other, similar messages):
    Warning: require(./musexplore.net/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/smberer/public_html/musexplore.net/index.php on line 17

    Is this because I couldn't locate and copy the .htaccess file to the musexplore.net directory?
    What to do??
    Thanks -- Steve

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You need to use require('./wp/wp-blog-header.php');

  3. smberer
    Member
    Posted 1 year ago #

    aaahhhh! Okay, I'll try it! Thanx.

Topic Closed

This topic has been closed to new replies.

About this Topic