GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Stupid Wordpress Question - Changing Directory/Folder Name? (https://gfy.com/showthread.php?t=1136534)

Diomed 03-22-2014 01:27 AM

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 :helpme

madtwin 03-22-2014 02:22 AM

Did you try to refresh/update permalinks in options?

WDF 03-22-2014 02:23 AM

Did you actually move the installation to a new folder named v2.0?

Diomed 03-22-2014 09:09 AM

Quote:

Originally Posted by madtwin (Post 20023774)
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!

Diomed 03-22-2014 09:10 AM

Quote:

Originally Posted by WDF (Post 20023775)
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

Eschaton 03-22-2014 09:45 AM

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.

EddyTheDog 03-22-2014 10:04 AM

Quote:

Originally Posted by Diomed (Post 20023933)
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.....

bbobby86 03-22-2014 10:13 AM

fresh new wordpress installation in /v2.0 folder

AaronM 03-22-2014 11:18 AM

Quote:

Originally Posted by bbobby86 (Post 20023962)
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?

EddyTheDog 03-22-2014 11:33 AM

Quote:

Originally Posted by AaronM (Post 20023999)
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.....

WDF 03-22-2014 12:41 PM

Quote:

Originally Posted by EddyTheDog (Post 20024013)
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 ^^^^^!:2 cents::2 cents::2 cents:

AaronM 03-22-2014 12:55 PM

Quote:

Originally Posted by EddyTheDog (Post 20024013)
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. :2 cents:

WDF 03-22-2014 01:07 PM

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.

DeletedBlogger 03-22-2014 01:21 PM

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

Now just move the files over to that new folder.

Done.

HomerSimpson 03-22-2014 04:18 PM

let me handle that for you
http://www.awmzone.com/sites-for-sale

klinton 03-23-2014 09:58 AM

Quote:

Originally Posted by bbobby86 (Post 20023962)
fresh new wordpress installation in /v2.0 folder

exactly...I did it before with changing folder etc. and it fucked up totally whole wordpress


All times are GMT -7. The time now is 06:42 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc