Hacker News new | past | comments | ask | show | jobs | submit login

Why not serve the generated static content from a different domain? Assuming all links to the dynamic pages are relative, you don't need to rewrite the urls that way. Alternatively just update the crawler to rewrite any url that matches certain rules.

As for hiding certain element, maybe appending some simple css to the generated pages to hide them is enough? something like `.login-form {display: none !important;}`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: