I am working on a complete overhaul of an old, static site that I had put together. The overhauled app is being built using Rails (4, Ruby 2). I would like to include the old static site in the new app and have it accessible by visiting either www.classic.my_site.com
or www.my_site.com/classic
, however, many of the CSS class/ID names (utilized by both CSS and JS) used in the old and new sites overlap with each other, so adding the old css and js files into the new app would completely screw things up.
What is the easiest way to add the old site's files (it's only 3 files: index.html
, custom.css
, and my_js.js
, in addition to a few images) to the new site without having to go through and rename all of the css classes and id's?
Is there any reason/convention to go with one URL over the other (classic.my_site
vs. my_site.com/classic
)? If classic.my_site
is the way to go, what is the best way to implement this?
Thanks!