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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:14:13+00:00 2026-06-13T04:14:13+00:00

Recently i have been using stackoverflow to fix many of my server errors. Recently

  • 0

Recently i have been using stackoverflow to fix many of my server errors. Recently i have encountered the following error “NOT FOUND 404 error” for the following error.

I have seen from web master central that there are several hundred urls have trailing string “%20target=” I want to remove so that the url yield results.

here is the sample. i wanted to change the following url from

http://www.example.com/one/two/three/four/five/For-Sale-26264.html%20target=

to

http://www.example.com/one/two/three/four/five/For-Sale-26264.html

How can i achieve this using htaccess

  • 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-13T04:14:14+00:00Added an answer on June 13, 2026 at 4:14 am

    The %20 is actually a URL encoded space, so you can use a lazy select (.+?) to match as few characters as possible before the space with \s and then target. The grouped match is available as a back reference with $1 for the rewrite.

    RewriteEngine On
    RewriteBase /
    RewriteRule (.+?)\starget= $1 [L]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently been using telnet a lot recently to test out many different
I have been using Nuget package manager recently and have found it excellent. However
I've been looking at some server logs using tail -f recently, and have thought
I have recently been using WxPython to create a GUI Network simulator like Cisco
I have been using NotePAD++ for editing Python scripts. I recently downloaded the PyDEV
I recently downloaded the Android Support Package and have been using it trying to
I have only recently started using CakePHP and have been unable to get validation
Recently I have been learning about WMI and WQL. I found out the list
I have been using Sublime Text 2 for over a year and recently started
Recently I have been using thrust a lot. I have noticed that in order

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.