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 6089915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:09:13+00:00 2026-05-23T12:09:13+00:00

In the .htaccess file: Redirect 301 /john-biography.php /about When I type domain.com/john-biography.php in the

  • 0

In the .htaccess file:

Redirect 301 /john-biography.php /about

When I type domain.com/john-biography.php in the browser, it become:

domain.com/about?/john-biography.php

Is that normal or what can be done to prevent that?

  • 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-23T12:09:14+00:00Added an answer on May 23, 2026 at 12:09 pm

    This behavior is typically for a conflict between mod_alias (Redirect) and mod_rewrite where a URL is redirected externally that was already rewritten internally by mod_rewrite.

    In that case you should not use mod_alias but mod_rewrite only. So just convert your directive into a mod_rewrite equivalent:

    RewriteRule ^john-biography\.php$ /about [L,R=301]
    

    Put this in front of your other rules that rewrite internally.

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

Sidebar

Related Questions

I have the following in a .htaccess file redirect 301 /page.php http://domain.com/page Which works
I have the following redirects in my htaccess file Redirect 301 /communityed/index.htm http://www.domain.com/community_education Redirect
My .htaccess file is: Redirect 301 http://domain.com/news/articles?dtMain_start=150 http://domain.com/news/articles Redirect 301 http://domain.com/news/articles?dtMain_start=160 http://domain.com/news/articles Redirect 301
I tried putting this code Redirect 301 /pagename http://www.example.com/pagename.html in my .htaccess file; but
I am using a 301 redirect command in .htaccess file Redirect 301 /fr/emergency http://www.sitename.com/fr/d’urgence
So my .htaccess file looks like this RewriteBase / Redirect 301 /page.html http://www.yoursite.com/newpage.html Redirect
I'm trying to redirect URLs by using the .htaccess file: index.php?i=Dengue-NS1-ELISA-kit---Antigen&id=682&cat=0 to index.php?i=Dengue-NS1-ELISA-kit---Antigen&id=682&cat=17 Notice
I'm attempting the following in an HTACCESS file: I want to 301 redirect this
Trying to set 301 redirect in .htaccess file and here is what i am
have such kind of error. When adding Redirect 301 rule to .htaccess file like:

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.