Page 1 of 1

How to recover deleted news article or update URL ?

Posted: Sat Apr 09, 2011 2:52 pm
by vayumahesh
I posted an item in the News area of the website. The URL page came out as http://triskeles.org/news/31/59/Triskel ... the-Forbes

I had to update the article to a new version and so I deleted the old one and added a new article. The URL page came out different as http://triskeles.org/news/35/59/Triskel ... the-Forbes

This is causing a problem since an email was already sent out to people saying they should go to the old URL link for purchasing tickets.

My mistake. I should have updated the article instead of deleting. Is there any way to recover the deleted article ? Or Is there any way to update the new URL back to the old URL article ?

Re: How to recover deleted news article or update URL ?

Posted: Sat Apr 16, 2011 10:37 pm
by spcherub
If you have access to the underlying database, you may be able to edit the entry to insert the old numbers back. This is not recommended since things can go very wrong if you are not careful when in the database.

Another way is to insert a redirect in your .htaccess file (if that is supported on your server). So something like this (below) may work for you.

Code: Select all

Redirect 301 /news/31/59/Triskeles-Youth-Event-at-the-Forbes /news/35/59/Triskeles-Youth-Event-at-the-Forbes
People clicking on the old link in the email will be redirected to the new location.

Hope this helps.

-S