• Hi

    I am currently working on my first wordpress site and was wondering how I amend the url so that it no longer has the /wordpress. It currently is: mysite.com/wordpress

    Do I need to move all of the wordpress files out of the wordpress folder and put them in the root folder?

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • There are two options.

    1. You can actually move WordPress to the root:

    http://codex.wordpress.org/Moving_WordPress

    2. You can leave it in the wordpress folder and let it power the root:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Thread Starter dunners

    (@dunners)

    Just been trying to follow the Giving Wordpres It’s own Directory page – but I can’t seem to find the .htaccess file it mentions here:

    # Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).

    Do you know where I find this file, I’ve searched through all my folders?

    Thanks

    As for the .htaccess file, there are two possibilities:

    1. You are not using pretty permalinks so you don’t have an .htaccess.
    2. The .htaccess file is invisible by default and you have not set up your ftp program to show invisible files. If you have an .htaccess, it is in your wordpress folder.

    Thread Starter dunners

    (@dunners)

    Thanks for your help with this iridiax.

    I’m now stuck at no.9:
    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’);

    There is no such line of code in my index.php file? The closest I can find is this: <?php get_header(); ?>

    The index.php they are referring to is the index.php in your wordpress folder, not the one in your theme’s folder.

    Thread Starter dunners

    (@dunners)

    Aha, that makes sense now! Thanks, my only problem now is that it appears to have lost it’s links to the theme and the pages are showing pure text pages?

    Try emptying your browser cache and reselecting your theme in the dashboard. If this does not work, then there may be something set wrong or misplaced, so review the checklist again for anything possibly missed.

    Thread Starter dunners

    (@dunners)

    Uh oh! It won’t even let me log on now – it comes up saying that there is a page error.

    Sorry, there has been a page error

    The server could not complete your request.

    * The script or file you are trying to call may be incorrectly written.
    * The host may be having a problem currently.
    * If you typed the page address in the Address bar, make sure that it is spelled correctly.
    * Open the stayuplate.org home page, and then look for links to the information you want.
    * Click Here to try another link.

    Hi – I think I messed up my site, by simply updating the URL by removing the /wordpress within the Admin site. Now I can’t get back into the Admin site to fix it.

    Any ideas? – Should have read this thread first! 🙂

    Thread Starter dunners

    (@dunners)

    Mmmm, I just restored my database from hosting companies control panel and this appears to have fixed the problem!

    So I don’t know how or why – but all is working fine now!

    Thanks for your help iridiax and good luck mhafter!!

    If you ever have errors changing the WordPress or blog url, to fix it see:
    http://codex.wordpress.org/Changing_The_Site_URL

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘removing /wordpress from the url’ is closed to new replies.