Developer wanted to write a piece code

Completed Posted Apr 8, 2012 Paid on delivery
Completed Paid on delivery

I have found that if adding question mark ? after the domain name and then add any letters,

it will be direct to home page instead of error page.

for example, [login to view URL] if you click the link it will turn to error page,

but if you add the question mark between forward slash / and adffg

then you go to the home page instead of error page

I want someone to write a piece of code to prevent this happening.

the code will be insert into my homepage

you can use php, javascript or something else to write the code.

the successful sample as below:

when you click the link below, you visit an error page instead of direct to home page of the website

[login to view URL]

if you have any other solution for the problem, please leave me a message

AJAX HTML JavaScript PHP

Project ID: #1552025

About the project

17 proposals Remote project Active Apr 20, 2012

Awarded to:

jqMike

Would be glad to settle it down. Please contact me.

$30 USD in 0 days
(83 Reviews)
7.2

17 freelancers are bidding on average $56 for this job

waelfree

Hi, I can do that

$30 USD in 1 day
(190 Reviews)
7.9
Max01

hi sir it xan also be done by htacccesss file or js also I can do it lets start it sir see pmb

$30 USD in 0 days
(264 Reviews)
6.6
MustafaSR

Hello Sir, Please check PMB

$30 USD in 1 day
(89 Reviews)
5.8
kishansunny

Hi, I can finish this very quickly. Please check my private message.

$30 USD in 0 days
(26 Reviews)
5.1
Los302

Hello! I can do this for you!

$30 USD in 0 days
(14 Reviews)
4.2
hrishabhg1

Hi, ready to start right now. Please check PM.

$50 USD in 1 day
(19 Reviews)
3.6
dhavalnirmal

Aisomex & Animize Consultancy Services is an IT company providing hand crafted IT solutions for all kinds of business needs. Our major working heads are Web Tech, Software & Outsourcing. We concentrate on ASP.net and P More

$30 USD in 0 days
(5 Reviews)
3.3
MaxLaw

I could solve your problem immediately.

$35 USD in 0 days
(2 Reviews)
1.8
prowriter23

Can be done within minutes!

$30 USD in 0 days
(2 Reviews)
1.4
dipakcse

Please see PM

$150 USD in 30 days
(0 Reviews)
0.0
ytsamy

Hi I've recently earned a master degree and my project was done in PHP. I had to deal with such issues as what you're are describing. I think I can provide you with satisfying results. Regards Samuel

$30 USD in 0 days
(0 Reviews)
0.0
SDistheBest

I can write the code in less than 20 minutes

$30 USD in 0 days
(0 Reviews)
0.0
marketingjeff31

PLEASE CHECK PMB

$150 USD in 3 days
(0 Reviews)
0.0
gopi411

i will do it if you give a chance to me

$30 USD in 1 day
(0 Reviews)
0.0