php 创建“友好”网址以访问您的WP All Export数据Feed,例如http://example.com/get-feed.php。只需(1)更改指示的URL
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php 创建“友好”网址以访问您的WP All Export数据Feed,例如http://example.com/get-feed.php。只需(1)更改指示的URL相关的知识,希望对你有一定的参考价值。
<?php
// Redirect browser to the WP All Export feed of your choice. Just put the correct URL below.
// Note: Anyone could access your data if they guess the URL of this script. You can gain a little protection by naming
// it something "unguessable". For proper security you should use an .htaccess rule or other mechanism.
// Disclaimer: This is provided with the hope it will be useful but custom PHP is not officially supported.
$url = "http://example.com/wp-cron.php?export_hash=ed5a94029a05b1c9&export_id=1&action=get_data";
header("Location: $url");
exit();
以上是关于php 创建“友好”网址以访问您的WP All Export数据Feed,例如http://example.com/get-feed.php。只需(1)更改指示的URL的主要内容,如果未能解决你的问题,请参考以下文章