Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow search indexing in promo mode #354

Merged
merged 1 commit into from
Feb 3, 2017

Conversation

joelanman
Copy link
Contributor

this fixes #329

app.get('/', function (req, res) {
res.redirect('/docs')
})

app.get('/robots.txt', function (req, res) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this disallow anyway?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I was misreading as it still says Disallow.

For the sake of clarity, mind using:

User-agent: *
Allow: /

app.get('/', function (req, res) {
res.redirect('/docs')
})

app.get('/robots.txt', function (req, res) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment for why indexing is enabled?

@joelanman joelanman force-pushed the allow-search-indexing-in-promo-mode branch from 7b0d6c3 to 4d53696 Compare January 30, 2017 12:27
@joelanman
Copy link
Contributor Author

@edwardhorsford look alright now?

@edwardhorsford
Copy link
Contributor

Stylistically yes, but still need to test.

@edwardhorsford
Copy link
Contributor

Looks good to me 👍

@joelanman joelanman merged commit d9f374a into master Feb 3, 2017
@joelanman joelanman mentioned this pull request Apr 5, 2017
@kr8n3r kr8n3r deleted the allow-search-indexing-in-promo-mode branch November 6, 2018 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for search engine indexing of the kit site
2 participants