Removing "wordpress" from the URL (3 posts)

  1. neoikon
    Posted 2 years ago #

    Hello, I have an established site, installed in the "/wordpress" sub-folder.

    All links on my site include the "/wordpress" sub-directory in the URL, which makes the URL longer, looks less professional, and advertises what platform I'm using. (ex: http://example.com/wordpress/page1)

    I would love to leave wordpress installed where it is, but simply have the URL change from:
    to this:

    Again, making my site look more like a company rather than a blog.

    I've gone through this tutorial:

    I feel the "Using a pre-existing subdirectory install" fits my situation, but I can't get it to work properly. I either get a "redirect loop error" or a plain white screen.

    I am running on Windows IIS so I don't have a .htaccess file. I do have a web.config file, but if I copy this to the root, the site breaks. Should I move it instead of copying it? The instructions aren't clear on what to do with the web.config.

    Any help is greatly appreciated!

  2. lee@digitalacorn
    Posted 2 years ago #


    Basically you need to move the whole wordpress install down to the root.

    After that you will need to edit the database so that all references of whatever.com/wordpress are changed to just whatever.com

    Be careful if you do it yourself, make a back up of the DB first.

  3. neoikon
    Posted 2 years ago #

    Thank you for the reply. Is the DB stored within the WordPress directory? Can I leave the original sub-directory untouched as a backup? Which tables in the DB do I need to change?

    Based on the tutorial I was originally looking at, what is that tutorial actually trying to do? "Using a pre-existing subdirectory install" section.

    This link: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic