Title: Redirect.txt
Author: nK
Published: <strong>12 de maig de 2024</strong>
Last modified: 27 de novembre de 2024

---

Cerca extensions

![](https://ps.w.org/redirect-txt/assets/banner-772x250.png?rev=3085245)

![](https://ps.w.org/redirect-txt/assets/icon-256x256.png?rev=3085245)

# Redirect.txt

 Per [nK](https://profiles.wordpress.org/nko/)

[Baixa](https://downloads.wordpress.org/plugin/redirect-txt.0.2.5.zip)

 * [Detalls](https://ca.wordpress.org/plugins/redirect-txt/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/redirect-txt/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/redirect-txt/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/redirect-txt/#developers)

 [Suport](https://wordpress.org/support/plugin/redirect-txt/)

## Descripció

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.

There are many good redirect plugins that have been developed for years and have
a strong code base. But we don’t 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.

.htaccess and nginx configs are OK, but we don’t want to edit configs placed somewhere
in server directories; we want to open our admin panel and add redirects easily.
We also don’t care about wrong config configurations, which will stop your server.

### Quick Links

[GitHub](https://github.com/nk-crew/redirect-txt)

### Features

 * Path redirects
 * Full URL redirects
 * Post ID redirects
 * RegEx redirects
 * Redirect logs
 * 404 logs

### Usage

Open `Tools  Redirect.txt` and provide a list of URLs here. Here is an example of
available syntax:

    ```
    # The links below will automatically use 301 redirects.
    /hello: /new-hello

    # Support for custom status
    # To make 301, 302, 303, 307, or 308 redirects, use a code like this:
    308: # All redirections below will use 308 redirect status.

    # Support for post ID's
    # Redirect from post with ID 1 to post with ID 8:
    1: 8

    # Support for external redirects:
    /external: https://google.com/

    # Support for RegEx redirects (automatically detected when the string starts with ^):
    ^/news/(.*): /blog/$1

    # You can use as many comments as you want to categorize your links better.
    ```

The same rules without comments:

    ```
    /hello: /new-hello

    308:

    1: 8
    /external: https://google.com/
    ^/news/(.*): /blog/$1
    ```

## Captures

 * [[
 * Redirection rules list
 * [[
 * Redirection and 404 logs
 * [[
 * Settings

## Instal·lació

#### Automatic installation

Install the Redirect.txt either via the WordPress plugin directory or by uploading
the files to your server at `wp-content/plugins`.

#### Usage

To start using the Redirect.txt, just open the Admin Menu  Tools  Redirect.txt and
follow instructions.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Redirect.txt» és programari de codi obert. La següent gent ha col·laborat en aquesta
extensió.

Col·laboradors

 *   [ nK ](https://profiles.wordpress.org/nko/)

“Redirect.txt” s’ha traduït a 1 configuració regional. Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/redirect-txt/contributors)
per les seves aportacions.

[Traduïu «Redirect.txt» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/redirect-txt)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/redirect-txt/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/redirect-txt/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/redirect-txt/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/redirect-txt/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.2.5 – Nov 28, 2024

 * added translation file
 * check compatibility with WordPress 6.7

#### 0.2.4 – Jul 3, 2024

 * added support for redirects to links with hash

#### 0.2.3 – May 26, 2024

 * disable redirects from `wp-admin`, `wp-json` and `wp-login.php` paths

#### 0.2.2 – May 17, 2024

 * changed code editor to light mode by default, to prevent switch to dark when 
   system is in dark mode

#### 0.2.1 – May 12, 2024

 * remove some dev folders from the plugin

#### 0.2.0 – May 12, 2024

 * Release

## Meta

 *  Versió **0.2.5**
 *  Darrera actualització **fa 1 any**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 6.2 o posterior **
 *  Provada fins a **6.7.5**
 *  Versió del PHP ** 7.2 o posterior **
 *  Idiomes
 * [English (US)](https://wordpress.org/plugins/redirect-txt/) i [Russian](https://ru.wordpress.org/plugins/redirect-txt/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/redirect-txt)
 * Etiquetes
 * [301](https://ca.wordpress.org/plugins/tags/301/)[404](https://ca.wordpress.org/plugins/tags/404/)
   [redirect](https://ca.wordpress.org/plugins/tags/redirect/)[redirection](https://ca.wordpress.org/plugins/tags/redirection/)
   [redirects](https://ca.wordpress.org/plugins/tags/redirects/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/redirect-txt/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/redirect-txt/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/redirect-txt/reviews/)

## Col·laboradors

 *   [ nK ](https://profiles.wordpress.org/nko/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/redirect-txt/)