dongye6377
2014-06-22 21:04
浏览 149
已采纳

如何使用wordpress网站执行自定义php文件

I have installed wordpress blog in my domain(Ex: http://mywordpresswebsite.com). Now i have a php file called serve.php in the root like http://mywordpresswebsite.com/serve.php.

Now if i open the url in browser its saying page not found.

then i have added RewriteRule ^serve.php$ serve.php [L] in htaccess code, still its saying page not found.

Please give me a solution for this as soon as possible, thanks in advance.

图片转代码服务由CSDN问答提供 功能建议

我在我的域中安装了wordpress博客( Ex:http://mywordpresswebsite.com </ code >)。 现在我在根目录中有一个名为 serve.php </ code>的php文件,如 http://mywordpresswebsite.com/serve.php </ code>。</ p>

现在,如果我在浏览器中打开它的说法页面未找到。</ p>

然后我添加了RewriteRule ^ serve.php $ serve.php [L] </ code> in htaccess代码,仍然没有找到它的说法页。</ p>

请尽快给我一个解决方案,提前谢谢。</ p> </ div>

1条回答 默认 最新

相关推荐 更多相似问题