Wordpress instalation problem

Discussion in 'Site & Server Administration' started by Calanau, Jan 9, 2013.

  1. #1
    Hi all,

    I have a problem with wordpress instalation. I installed a wordpress on the server under the www/wordpress/ and now I would like to take the wordpress folder out of the server and move the files to the main directory. When I do that the whole wordpress theme I already set isn't there anymore. I know it's my mistake and I shouldn't use the folder "wordpress" but is there a way to delete the "wordpress" folder and take the files inside and move it to the main directory keeping the theme I set?
     
    Calanau, Jan 9, 2013 IP
  2. AdamUK89

    AdamUK89 Active Member

    Messages:
    78
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    90
    #2
    Hello,

    Make sure you copy all the files from one folder to another, you can download the files via ftp and then reupload them to the right folder, just make sure you set the config.

    Regards,
    Adam
     
    AdamUK89, Jan 9, 2013 IP
  3. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #3
    Changing directories will involve making 2 edits in phmyadmin to change the base url I think and also the home link.

    Pretty straight forward stuff though.

    Nigel
     
    Nigel Lew, Jan 9, 2013 IP
  4. ironcladservers

    ironcladservers Well-Known Member

    Messages:
    389
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    115
    #4
    I can confirm this is very likely the proper solution to OP's issue.
     
    ironcladservers, Jan 9, 2013 IP
  5. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #5
    If you are not comfortable using phpMyAdmin, use the following steps:

    Log in to your WordPress dashboard as an administrator and navigate to Settings -> General.
    Change both WordPress address (URL) and Site address (URL) to the new location for your WordPress site, i.e. change http://yourdomain.com/wordpress to http://yourdomain.com
    Click save changes.
    Move all files and directories from the /wordpress directory to the root directory.
     
    RoseHosting, Jan 11, 2013 IP
  6. Skyrock2610

    Skyrock2610 Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    You should reinstall wordpress with newest version!
     
    Skyrock2610, Jan 12, 2013 IP
  7. syntax_error

    syntax_error Peon

    Messages:
    58
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
  8. localgoogleguru

    localgoogleguru Active Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #8
    When Your Domain Name or URLs Change
    from http://codex.wordpress.org/Moving_WordPress

    When your domain name or URLs change - i.e. from http://example.com/blog to http://example.com, or http://example.com to http://newexample.com - there are additional concerns. The files and database can be moved, however references to the old domain name or location will remain in the database, and that can cause issues with links or theme display.

    If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked. When this changes, things break. To avoid that serialization issue, you have two options:

    Only perform a search and replace on the wp_posts table.
    Use the Search and Replace for WordPress Databases Script to safely change all instances. ( If you are a developer, use this option. It is a one step process as opposed to the 15-step procedure below )
     
    localgoogleguru, Jan 19, 2013 IP
  9. WideVPS

    WideVPS Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    You need move your information to / or in your admin rename the directory of your installation.
     
    WideVPS, Jan 25, 2013 IP
  10. WorldKaoss

    WorldKaoss Well-Known Member

    Messages:
    231
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    105
    #10
    Try loging in to phpMyAdmin and change all the URLs that point to "http://yoursite.com/wordpress" to "http://yoursite.com"
    This way, your theme's style.css & images will be loaded correctly and the website will show up as normal, again ;)
     
    WorldKaoss, Feb 2, 2013 IP