For a customer, i fixed up his whole website by managing the SEF Url's, basicly rewriting articles towards site.com/url1/article-2/ and so on. I filled in for every page a custom desc, metas and so on.
Today, the site was as good as done, and i forgot about adding one thing: The non-www towards www only. So that any link towards the non www site would point to
www.site.com.
I edited a htaccess file that was sitting on my desktop and uploaded it towards the ftp. Quickly checking by typing
site.com and it correctly moved me to
www.site.com ,
now , recently (15 minutes ago) i discovered that any inbound URL would not work by overwriting the htacces file. I'm pretty much screwed. The database shows that all the URL's are still there, so i'm looking for a way to ' fix ' the htaccess by somehow rewriting the whole file again based on whats stored in the database.
Is there a way or am i doomed to start reinventing the wheel again ? :(