Stupid Wordpress Question - Changing Directory/Folder Name?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Diomed
    Converting like it's 1999
    • Jan 2009
    • 6167

    #1

    Stupid Wordpress Question - Changing Directory/Folder Name?

    Hey guys,

    I'm trying to change a directory/folder to a new name in Wordpress.

    For instance,

    I want to change www.sample.com/blog/ to www.sample.com/v2.0/

    I looked up advice for this and apparently got some bad info.. because it didn't work. The top listing for this question read to do this: Go to SETTINGS - GENERAL - and change both the Wordpress address URL and the Site address URL to the new name (in this case v2.0)

    Now I get a 404 file not found for the new address, and when pulling up the old /blog/ address the theme is gone, just a wordpress file not found page. Different from the above 404 page though.

    I knew that sounded too simple to be true.. should have known I had to do something server side as well.

    Any help?

    Really appreciate it
    10 years of experience in:

    CHAT SALES - PAID TRAFFIC - CONVERSION - CREATIVES - CONSULTATION
  • madtwin
    Confirmed User
    • Aug 2009
    • 274

    #2
    Did you try to refresh/update permalinks in options?

    Comment

    • WDF
      Confirmed User
      • Jan 2013
      • 2248

      #3
      Did you actually move the installation to a new folder named v2.0?
      Please HELP

      Comment

      • Diomed
        Converting like it's 1999
        • Jan 2009
        • 6167

        #4
        Originally posted by madtwin
        Did you try to refresh/update permalinks in options?
        No,

        there aren't even any blog posts yet.. it's an old inactive blog with wordpress installed that I am updating to something new and better looking for a friend.

        But I will try that just in case Couldn't hurt!
        10 years of experience in:

        CHAT SALES - PAID TRAFFIC - CONVERSION - CREATIVES - CONSULTATION

        Comment

        • Diomed
          Converting like it's 1999
          • Jan 2009
          • 6167

          #5
          Originally posted by WDF
          Did you actually move the installation to a new folder named v2.0?
          No,

          I didn't move anything server side. I was just looking to rename the directory/folder basically.. from sample.com/blog to sample.com/v2.0
          10 years of experience in:

          CHAT SALES - PAID TRAFFIC - CONVERSION - CREATIVES - CONSULTATION

          Comment

          • Eschaton
            Confirmed User
            • Jan 2012
            • 109

            #6
            Might want to check wp-config.php

            Code:
            /** Absolute path to the WordPress directory. */
            if ( !defined('ABSPATH') )
            	define('ABSPATH', dirname(__FILE__) . '/');
            If that's correct and still not working try removing the period from the new subfolder and see if that works.

            Comment

            • EddyTheDog
              Just Doing My Own Thing
              • Jan 2011
              • 25433

              #7
              Originally posted by Diomed
              No,

              I didn't move anything server side. I was just looking to rename the directory/folder basically.. from sample.com/blog to sample.com/v2.0
              You will need to rename the corresponding folder on the server - You will see a folder called 'blog', just rename it to 'v2'....

              Get rid of the period in the name (it may cause you issues later) so - v2 not v2.0 - You will need to go back into WordPress and do it there as well.....
              Last edited by EddyTheDog; 03-22-2014, 09:05 AM.

              Comment

              • bbobby86
                partners.sexier.com
                • Jan 2007
                • 11926

                #8
                fresh new wordpress installation in /v2.0 folder

                Comment

                • AaronM
                  GFY Royality ;)
                  • Oct 2001
                  • 46923

                  #9
                  Originally posted by bbobby86
                  fresh new wordpress installation in /v2.0 folder

                  Exactly.

                  If it's an old blog with no content, just wipe it out and install in the directory you want.

                  Why is anything else even being considered?

                  Comment

                  • EddyTheDog
                    Just Doing My Own Thing
                    • Jan 2011
                    • 25433

                    #10
                    Originally posted by AaronM
                    Exactly.

                    If it's an old blog with no content, just wipe it out and install in the directory you want.

                    Why is anything else even being considered?
                    Why is it not easier to change the name of the directory?..

                    Highlight the directory name in an FTP program, 4 keystrokes and its done.....

                    Comment

                    • WDF
                      Confirmed User
                      • Jan 2013
                      • 2248

                      #11
                      Originally posted by EddyTheDog
                      Why is it not easier to change the name of the directory?..

                      Highlight the directory name in an FTP program, 4 keystrokes and its done.....

                      This ^^^^^!
                      Please HELP

                      Comment

                      • AaronM
                        GFY Royality ;)
                        • Oct 2001
                        • 46923

                        #12
                        Originally posted by EddyTheDog
                        Why is it not easier to change the name of the directory?..

                        My experience with WP tells me that doing this is doesn't give the desired results. Maybe you would have different experiences than I have.

                        As far as easier, I can uninstall then reinstall with 3 clicks and no typing.

                        Comment

                        • WDF
                          Confirmed User
                          • Jan 2013
                          • 2248

                          #13
                          Fantasico, Softalicious, etc.

                          Not the greatest of choices but it works.

                          But not what the OP asked about though.

                          For his desired results he needs to rename the directory on the server side.

                          He could set up a redirect which is kind of silly rather then just renaming the directory.

                          What he desires can not be done the way he is trying to do it is the point.
                          Last edited by WDF; 03-22-2014, 12:11 PM.
                          Please HELP

                          Comment

                          • DeletedBlogger
                            Registered User
                            • Oct 2012
                            • 74

                            #14
                            You repointed the blog URL's to the new folder.

                            Now just move the files over to that new folder.

                            Done.

                            Comment

                            • HomerSimpson
                              Too lazy to set a custom title
                              • Sep 2005
                              • 13826

                              #15
                              let me handle that for you
                              http://www.awmzone.com/sites-for-sale
                              Make a bank with Chaturbate - the best selling webcam program
                              Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

                              PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:

                              Comment

                              • klinton
                                So Fucking Banned
                                • Apr 2003
                                • 8766

                                #16
                                Originally posted by bbobby86
                                fresh new wordpress installation in /v2.0 folder
                                exactly...I did it before with changing folder etc. and it fucked up totally whole wordpress

                                Comment

                                Working...