{"id":400113,"date":"2024-05-12T08:00:00","date_gmt":"2024-05-12T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/redirect-txt\/"},"modified":"2024-11-28T00:05:00","modified_gmt":"2024-11-28T00:05:00","slug":"redirect-txt","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/redirect-txt\/","title":{"rendered":"Redirect.txt"},"content":{"rendered":"<p>With Redirect.txt, you can provide a simple list of URLs and their destinations with no post-creation bloat, no limitations, and just a simple editor.<\/p>\n<p>There are many good redirect plugins that have been developed for years and have a strong code base. But we don\u2019t like the idea of creating separate posts\/entries for each redirection rule. We simply need to add, remove, and manage redirects in a simple and bulk way.<\/p>\n<p>.htaccess and nginx configs are OK, but we don\u2019t want to edit configs placed somewhere in server directories; we want to open our admin panel and add redirects easily. We also don\u2019t care about wrong config configurations, which will stop your server.<\/p>\n<h3>Quick Links<\/h3>\n<p><a href=\"https:\/\/github.com\/nk-crew\/redirect-txt\" rel=\"nofollow ugc\">GitHub<\/a><\/p>\n<h3>Features<\/h3>\n<ul>\n<li>Path redirects<\/li>\n<li>Full URL redirects<\/li>\n<li>Post ID redirects<\/li>\n<li>RegEx redirects<\/li>\n<li>Redirect logs<\/li>\n<li>404 logs<\/li>\n<\/ul>\n<h3>Usage<\/h3>\n<p>Open <code>Tools <span aria-hidden=\"true\" class=\"wp-exclude-emoji\">\u2192<\/span> Redirect.txt<\/code> and provide a list of URLs here. Here is an example of available syntax:<\/p>\n<pre><code># The links below will automatically use 301 redirects.\n\/hello: \/new-hello\n\n# Support for custom status\n# To make 301, 302, 303, 307, or 308 redirects, use a code like this:\n308: # All redirections below will use 308 redirect status.\n\n# Support for post ID's\n# Redirect from post with ID 1 to post with ID 8:\n1: 8\n\n# Support for external redirects:\n\/external: https:\/\/google.com\/\n\n# Support for RegEx redirects (automatically detected when the string starts with ^):\n^\/news\/(.*): \/blog\/$1\n\n# You can use as many comments as you want to categorize your links better.\n<\/code><\/pre>\n<p>The same rules without comments:<\/p>\n<pre><code>\/hello: \/new-hello\n\n308:\n\n1: 8\n\/external: https:\/\/google.com\/\n^\/news\/(.*): \/blog\/$1\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Manage 301 &#038; 302 redirects easily. No posts creation bloat, just a simple list.<\/p>\n","protected":false},"author":65,"featured_media":400114,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Redirect.txt - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Manage 301 & 302 redirects easily. No posts creation bloat, just a simple list."},"footnotes":""},"categories":[1],"tags":[153,418,156,438,281],"class_list":["post-400113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-153","tag-418","tag-redirect","tag-redirection","tag-redirects"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/400113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=400113"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/400113\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/400114"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=400113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=400113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=400113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}