Perhaps i should have run that script while the admin was still there.

I lost the admin after doing a full restore of a backup of my site dated 30th November. I did this after a simple ZC MY SQL restore failed and I actually had the admin part of the store before i ran the backup but had lost the actual store part of my site. After the backup the store section returned but the admin section keeps re-directing to the store login page.

Any idea which files i should check as it's obviously just one file doing this re-direct and i just don't know which one it is. I tried that link but it didn't work with rewrite engine off and the same re-direct kept happening.

The thing is surely the backup files would have replaced any old SEO URL files ?

I actually got the file from the download section not your link as i was looking for addons.