Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7983019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:50:17+00:00 2026-06-04T10:50:17+00:00

In our web app we’re redirecting all 404’s to a pretty error page, but

  • 0

In our web app we’re redirecting all 404’s to a pretty error page, but for robots.txt we need to server a default page (or return 404), else google won’t index us.

Should I be adding a route to bootstrap.php specifically for http://www.mydomain.com/robots.txt?

Or should I be doing this through .htaccess?

Was there a cleaner approach I overlooked?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:50:18+00:00Added an answer on June 4, 2026 at 10:50 am

    Just create the file. If .htaccess is configured correctly, the Kohana framework only comes to action if there is no ‘direct hit’ on the requested file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We want to encrypt all our web app configuration files that we deploy to
Our web server is structured as follows /path-to-docdir [Contains main pages] ./app/ [Some application
Our web app automatically emails us when a page execution goes beyond a second
We want all of our AJAX calls in our web app to receive JSON-encoded
Our web app's db server (running SQL Server 2008) is starting to get pounded
We are using SVG in our web app and we need to allow users
I'm trying to optimize the performance of our web app, but I just found
Our web app currently under development has authentication on all the pages. We can
On a page in our web app we use SyntaxHighlighter to highlight source code.
We got a great five-letter domain name for our web app, but we're inheriting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.