Textpattern Forum

You are not logged in. Register | Login | Help

#1 2012-06-25 07:56:58

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 204
Website

Change a Section name without disrupting current URLs?

Morning awesome people.

Is this possible? I’d like to change Weddings to Blog, but I’ve posted a fair few in weddings, which of course use the structure:

<site>/wedding/<title>

Will changing the Wedding section to Blog cause the existing URL’s to change to…

<site>/blog/<title>

… or will it know to leave those alone (and still be able to reference them)?

I suppose another idea is to leave the Section name as Weddings and just change the title to Blog?

Offline

#2 2012-06-25 10:26:06

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,091
Website

Re: Change a Section name without disrupting current URLs?

Changing a section name will change the URLs of all articles in that section.

You can easily redirect your visitors by adding one line into the .htaccess file at your site’s root directory

Redirect Permanent /wedding/ http://example.com/blog/

Offline

#3 2012-06-25 21:26:38

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 204
Website

Re: Change a Section name without disrupting current URLs?

Thanks Robert, very good point!

Offline

Board footer

Powered by FluxBB