Вопрос

I have a problem.

Well, I've got an website with some sitemap and I want to keep active links to several html pages due to their high ranking in Google. Sample page has the address: http://domain.com/my_important_page.html - this is a static page in pure html written (requires no backend support).

Webpage has been re-written in RunyOnRails. How to make routes.rb to the above page(s) (ex. domain.com/my_important_page.html) was seen at the same web address as before?

Это было полезно?

Решение

You can just drop my_important_page.html in the public directory.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top