Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
221 views
in Technique[技术] by (71.8m points)

wordpress - 如果url中的数字,wordpress不返回404(wordpress doesn't return 404 if number in url)

i have a worpress website that works fine with 404 not founding error if u type

(我有一个worpress网站,可以很好地与404配合使用,如果您键入u则找不到错误)

mydomain.com/blog/bla-bla

but there is a little strange thing if u type

(但是,如果您键入内容会有点奇怪)

mydomain.com/blog/1232424

or any number format .

(或任何数字格式。)

it wouldn't return a 404 page and just load blog page like as always,

(它不会像往常一样返回404页面并仅加载博客页面,)

any hint would be help.

(任何提示都会有所帮助。)

for more information i must say , i'm handling redirect page to 404 by a plugin and a costume 404 page that i've created.

(有关更多信息,我必须说,我正在处理由我创建的插件和服装404页面重定向到404的页面。)

  ask by alireza translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...