WordPress.org

Support

Support » How-To and Troubleshooting » rename localhost/wordpress

rename localhost/wordpress

  • nplblog

    @nplblog

    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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Jeremy Clark

    @jeremyclark13

    Member

    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

    nplblog

    @nplblog

    Where can I find .htaccess files?

    If you don’t use the nice permalinks – you don’t have and don’t need it.

    nplblog

    @nplblog

    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.

    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!

    nplblog

    @nplblog

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

    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.

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

    rite?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘rename localhost/wordpress’ is closed to new replies.
Skip to toolbar