[wp-hackers] Changing page permalink structure
"Matthias P. Würfl"
mpw at taquiri.de
Tue Oct 2 13:53:10 UTC 2012
From: Bryan Petty <bryan at ibaku.net>
Subject: Re: [wp-hackers] Changing page permalink structure
To: wp-hackers at lists.automattic.com
> This is interesting because while pages have the "permalinks" feature,
> and it would normally work as designed without any problems, it is
> partially broken with the decision to use parent page slugs in the URL
> for this reason.
Why not simply keep track of the changes of the URL? Save the old URL to
a table and search this before giving a 404. Then send 301 instead of 404.
Storing only happens when changes to the URL are made. This does'nt
happen often.
URLs are just small pieces of data - this won't fill your hdd
Querying this data only happens if an old URL is accessed
Grüße, Matthias
More information about the wp-hackers
mailing list