开发者

php mysql In URL Remove Words GET ERROR

I have This URL Example : http://mysite.com/the_power_been.html static url in htaccess then this page will be display properly .. but if i remove "the" word or remove "been" then the page display also... i need the Page give error or goto mainpage http://mysite.com if the the Wo开发者_StackOverflow中文版rd is missing in URL i use this but its work when the Full Words remove then its give error

if($_GET["wurl"]!=""){
}else{
header("Location: http://www.mysite.com");
exit();
}

what i do this ... when one word remove or character then the URL give Error

please help for Fix this


Not sure what you're getting at. Sounds like you need to configure your web server's 404 page handler (or is it's been configured, and it's pointing at some PHP page right now).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜