Home  >  Article  >  Backend Development  >  请教index.php?p=123的问题

请教index.php?p=123的问题

WBOY
WBOYOriginal
2016-06-23 13:15:551320browse

我的博客是wordpress系统 主页是index.php 文章链接都是问号加数字: xxx.com/?p=123 

我现在想把主页优先设置为index.htm可是这样就会访问成index.htm/?p=123

@jam00 @showbo 


回复讨论(解决方案)

wordpress后台可以设置的。

 xxx.com/?p=123 
实际上就是
index.htm/?p=123

改web服务器默认首页文件的优先循序,前天类型的连接wp后台可以定义的,不过也得你的服务器支持特定url地址的重写才行,如/xxx/xxx这种形式的,index.php/...这种不需要重写

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn