Okay, so I have found a CMS I'm happy with finally (Drupal) and have built a few sites from scratch with it. Now I would like to convert some existing static HTML sites to CMS sites. I don't mind copy/pasting the content into the CMS, since they are not super-huge sites, so I don't need a data migration script. But some of the old sites have decent page rank, serps and backlinks. I want to keep the same domain name. What is the best way to retain my rankings? Normally, if I was converting from html pages to php pages, I would use an htacess redirect: Options +FollowSymlinks rewriteengine on rewriterule ^(.+)\.htm$ http://mydomain.org/$1.php [r=301,nc] Code (markup): But now, since my CMS has a SEF module to write nice clean URLS with no extensions, like so: http://mydomain.org/search-engine-freindly How can I do a redirect to something with no filename extension? Any ideas? (One downside with Drupal is less than swift response on the support forums)
The same way you redirect to something with one? Sorry, not sure how it is different.. that is a valid URL and Apache should be able to redirect to it.
To clarify, I'm asking this- instead of this line in the redirect: rewriterule ^(.+)\.htm$ http://mydomain.org/$1.php [r=301,nc] Code (markup): I would put what? What would I substitute for the .php? Just omit it after the /$1?
Yup. That would work if your files are: http://example.com/get-bent.html going to http://example.com/get-bent