Welcome to WebmasterWorld Guest from 54.146.55.156

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Renaming url structure and redirects

     
9:24 pm on Apr 8, 2014 (gmt 0)

Preferred Member

5+ Year Member Top Contributors Of The Month

joined:Aug 30, 2007
posts: 618
votes: 3


On a website I currently have a folder where the Wordpress installation is

greatgreenwidgets
that I would like to amend to
great-green-widgets

and also
currently have permalink structure of
/index.php/%post_id%/%postname%/

that I would like to change to 'Post Name'
ie sample-post/


Is it possible to do either of the above WITHOUT causing 404 errors?
ie via redirects etc in the htaccess?
2:11 am on Apr 9, 2014 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13210
votes: 347


All things are possible with redirects in htaccess ;) Subforum next door. But before you do that, look for WP plugins to do what you want.

No point in reinventing the wheel.
12:20 am on Apr 10, 2014 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


Redirection plugin - very handy.

[wordpress.org...]
12:55 pm on Apr 18, 2014 (gmt 0)

New User

joined:Apr 6, 2014
posts:3
votes: 0


Wouldn't it be faster and easier if you will install fresh/clean WP and use your old database. Everything should work fine from there.
4:58 pm on Apr 18, 2014 (gmt 0)

Preferred Member

5+ Year Member Top Contributors Of The Month

joined:Aug 30, 2007
posts: 618
votes: 3


The WP installation actually redirects automatically... :)