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

  • Home
  • SEARCH
  • 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 6546647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:44:00+00:00 2026-05-25T11:44:00+00:00

What is causing a 500 error with the below code in the .htaccess file?

  • 0

What is causing a 500 error with the below code in the .htaccess file?

User-agent: * 
Disallow: /

RewriteEngine On

RewriteBase /
RewriteRule ^([a-zA-Z0-9\-_]+)\.shtml /$1.php
RewriteRule ^Marketing-Resources/([a-zA-Z0-9\-_]+)\.shtml /Marketing-Resources/$1.php
RewriteRule ^Affiliates/([a-zA-Z0-9\-_]+)\.shtml /Affiliates/$1.php
RewriteRule ^Help/([a-zA-Z0-9\-_]+)\.shtml /Help/$1.php
RewriteRule ^Specialty-Lists/([a-zA-Z0-9\-_]+)\.shtml /Specialty-Lists/$1.php

If it matters the file is inside the folder of a subdomain.

  • 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-05-25T11:44:00+00:00Added an answer on May 25, 2026 at 11:44 am
    User-agent: * 
    Disallow: /
    

    These two lines usually belong to robots.txt, not .htaccess…

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

Sidebar

Related Questions

Here's my .htaccess : RewriteEngine On RewriteRule ^([^/]+)$ /index.php?id=$1 [L] And requests keep causing
In symfony 1.0 you can access the uncaught exception causing your custom 500 error
I have DocumentRoot /var/www/test in my .htaccess file. This is causing the apache server
My code is causing ie7 to throw this error. 'this.0.form' is null or not
The following code is causing an intermittent crash on a Vista machine. using (SoundPlayer
The following code is causing me some problems. The third line causes a program
The following linq2sql code is causing me much headache and I was hoping someone
Can anyone tell me what is causing the space below the images? There seems
Can anyone explain what might be causing this error. Im thinking its the quotes.
Any idea why sendSynchronousRequest is causing a leak below? Instruments states that the responsible

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.