WordPress.org

Ready to get started?Download WordPress

Forums

Giving WP it's own directory - change (9 posts)

  1. judetheobscure
    Member
    Posted 1 year ago #

    Hiya.

    I currently have my site in a sub-directory called wordpress. I pointed the home site URL to the subdirectory using the information in your Codex "Pointing your home site's URL to a subdirectory" as it seemed the easiest way to do it quickly and I was a complete novice.

    I'm now feeling a little bit braver (only a little mind ;) ) and I want to change it so that the subdirectory name doesn't feature in the URL so my understanding is that I should use the "Using a pre-existing subdirectory install" section. So that instead of getting http://www.mysitename.com/wordpress etc. I will get http://www.mysitename.com Is this correct?

    Do I need to remove the code I originally input to the .htaccess file (the bit about Rewrite Engine On etc.) or will this be automatically overwritten.

    As my wordpress site is still on the same subdirectory, do I need to do all the search and replace on the database to change the urls?

    Will all this moving about affect my Google page ranking?

  2. judetheobscure
    Member
    Posted 1 year ago #

    Can anyone help me with this? Would be much appreciated.

  3. judetheobscure
    Member
    Posted 1 year ago #

    Oh gosh - is there really no-one can help me with this?

    Is there anywhere else I can go for help?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Is this what you are using? http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    It's pretty specific...

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    BTW, make sure make a complete back-up of your site before you mess with this :)!

  6. judetheobscure
    Member
    Posted 1 year ago #

    Thank you for your reply :)

    Yup - that's the article I was reading. I just want to be to 100% sure I'm understanding it properly.
    (a) is it going to do what I want it to do?
    (b) I guess I can just remove the original bit of code?
    (c) Unclear on whether I need to do anything with the urls
    (d) No mention of page ranking, will it be affected? I've worked hard on getting my page rank up from 40something to 3.

    Yes, backup, backup, backup ..... and bite nails down to the quick ;)

  7. judetheobscure
    Member
    Posted 1 year ago #

    I guess my biggest worry is urls. I've got hundreds, which have got the wordpress bit in them. Will they all become invalid once I reset the url - or will they at least still work (although for tidiness's sake would be better stripped of the wordpress bit)?

  8. judetheobscure
    Member
    Posted 11 months ago #

    Following up on this as I didn't have enough answers at the time to feel competent to do it five months ago. Really hoping to get it sorted now if someone can reassure me re. the points above.

    Also a bit confused where it says 6. Edit your root directory's index.php. Does this mean the new one that I've just copied there? I already have an index.php in my root directory although the only thing in there is related to a piece of the site which I no longer use, so maybe I can just delete it before I go ahead with the instructions?

  9. judetheobscure
    Member
    Posted 11 months ago #

    There's not a lot of help for this issue :(
    Is there a better place for me to be posting it?
    Really don't want to wreck my site trying it out without a bit of reassurance on the above points.

Topic Closed

This topic has been closed to new replies.

About this Topic