[wp-hackers] Permanent Redirect

Peter Westwood peter.westwood at ftwr.co.uk
Wed Apr 8 17:48:24 GMT 2009


On 8 Apr 2009, at 18:43, Dino Termini wrote:

> Hello everybody,
>
> In order to improve the SEO of my weblog, I'd like to change the  
> format of my permalinks. My current format is /%post-id%/ and I  
> would like to change it to /%postname%/ . This is easy. The problem  
> is that after doing this, all my 'old' URLs are not reachable  
> anymore and people get an ugly 404 error. So I was trying to  
> redirect people hitting the old URLs to the new ones. Please note  
> that I have more than 1200 articles, so I cannot use .htaccess or  
> other manual approaches :-) Anyone?


http://scott.yang.id.au/code/permalink-redirect/

HTH

westi
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list