Today I took the "journey" by Jeff Bishop (http://jeffbishop.net/archive/2006/05/21/690.aspx) and converted my Blogger.com account to CS (it took at whole 1/2 hour)
I have since converted to a single blog thanks to Dan Barels code (http://blog.danbartels.com/archive/2005/12/27/1138.aspx), preferred this method to the Qygen implementation.
But now I dont want to loose my permanent links. They still work by point to the archived html files but now Im in CS I want rid all together. So what I need to know is how do I rewrite a url such as
http://www.mydomain.com/2006/09/even-more-of-geek.html
To my CS equivalent
http://www.mydomain.com/archive/2006/09/21/Even-more-of-a-geek.aspx
If you have root access to the server it's a case of a 301 redirect.
i.e. in the httpd.ini file at the root of the server add this
RewriteRule http://blog.webdynamix.biz/* http://www.mydomain.com/ [I. RP]
google the right syntax
Sorry I think you missed the point, yes I have route access but I need to change the .html and file name to the new cs structure using some form of URL rewrite rule
But thanks for your attempt
Some editors such as Dreamweaver (and I think) Homesite have built in Regular Expression tools in which you can look for typical patterns in file names such as .html, you can then swap it for .aspx. I think you will still need to use "RegEx" in your httpd.ini file to rewrite the url but this can be tricky.Also make a back up of your site first and test the regex when trying to rewrite the file name itself, regex is a handy tool for jobs like this but can be devastatingly powerful because you can't ctrl+Z back to the original state.
I hope I had a better understanding this time...
I also hope this helps
Take a look at this thread, as it addresses a similar problem:
http://communityserver.org/forums/thread/551009.aspx
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com