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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:42:21+00:00 2026-06-06T13:42:21+00:00

& is a reserved character in html therefore everywhere I have url’s pointing to

  • 0

& is a reserved character in html therefore everywhere I have url’s pointing to some path with querystring I put & instead of & so that I get valid HTML.

There are a many different crawlers that goes over the website and access this url’s but they don’t use html decode methods to get the correct url values so they make requests to my website with:

mywebsite.com/?p1=v1&p2=v2

instead of

mywebsite.com/?p1=v1&p2=v2

Right now I am responding with the error page as the robots that makes this requests are of no interest to me.

But my question is, what are the best practice to handle this kind of requests?

Do you know if there is of any use to support handling this kind of requests? ( for example are there any popular crawlers or browsers that doesn’t properly converts this url’s ?)

  • 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-06T13:42:22+00:00Added an answer on June 6, 2026 at 1:42 pm

    I think you can expect that any major crawler is able to handle valid escaped URLs. So I won’t worry about the rest.

    If you really like to then you may want to add rewrite rules to your Apache or whatever you use. But this may lead to other problems when an URL really contains the charsequence & and got replaced with & by your rewrite rule for error.

    In my opinion it is better to leave this untouched. It is not your fault and when you do not really care about these crawler – so what? 🙂

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

Sidebar

Related Questions

I have a system which allows users to enter HTML-reserved characters into a text
I have to encode the 5 XML reserved chars (& < > and ')
I have the following piece of HTML: <ul id=downmenu> <li class=copyright> <div>&copy; 2011. All
& has && . | has || . Why doesn't ^ have ^^ ?
&nbsp; shows some symbol istead of space in IE? could you tell me why?
I have this code in a reserved word boolean format: private boolean isIdent(String t)
Windows 7 32-bit Dreamweaver 8 I am new to HTML & Dreamweaver. I am
In my Django application, I have a URL I would like to match which
I have a problem dealing with encrypted URL parameters when applying HttpUtility.UrlEncode or UrlDecode
I have a program that generates a single random character, using the randomCharacter function,

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.