WordPress.org

Ready to get started?Download WordPress

Forums

rename localhost/wordpress (9 posts)

  1. nplblog
    Member
    Posted 6 years ago #

    I have renamed local host to ip address. Now my blog has url of ipaddress/wordpress. How can I get rid of "wordpress" in the url? Or can I rename wordpress to something else?

  2. Jeremy Clark
    Moderator
    Posted 6 years ago #

    First you need to change your wordpress and blog url to remove the wordpress off the end. Then you need to move the contents of your wordpress folder into the root directory. Or for a cleaner root directory you could follow these directions.
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

  3. nplblog
    Member
    Posted 6 years ago #

    Where can I find .htaccess files?

  4. moshu
    Member
    Posted 6 years ago #

    If you don't use the nice permalinks - you don't have and don't need it.

  5. nplblog
    Member
    Posted 6 years ago #

    Ok in my root directory I have a folder for xammplite and wordpress. I removed "/wordpress" from my blog uri only and updated options. Then I copied index.php from wordpress directory to my root directory and add "/wordpress"/ to require('./wp-blog-header.php'). Now when I click on "viewsite", it is pointing to ipaddress/xampp. What did I do wrong? I was not able to find ".htaccess" files.

  6. moshu
    Member
    Posted 6 years ago #

    What did I do wrong?
    Everything.
    Your "root" should be something like htdocs or public_html...

    require('./wordpress/wp-blog-header.php')
    You should have this in your copied index. And "copy" = means to have the index in BOTH places!

  7. nplblog
    Member
    Posted 6 years ago #

    Do I have to move all the files from xampp/htdocs/wordpress to this new folder called wordpress under root directory?

  8. moshu
    Member
    Posted 6 years ago #

    Men, why are you managing a server if you don't have a clue what are you doing?
    We are not here to teach you how to set up your local server.

    Your root is this:
    xampp/htdocs/
    Nothing else.

    There is NO OTHER ROOT. Period.

  9. matthew123
    Member
    Posted 6 years ago #

    moshu is pissed off..
    xampp/htdocs/wordress
    xampp/htdocs

    rite?

Topic Closed

This topic has been closed to new replies.

About this Topic