Title: Simple Website Redirect
Author: Micah Wood
Published: <strong>6 de febrer de 2018</strong>
Last modified: 15 de març de 2025

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Simple Website Redirect

 Per [Micah Wood](https://profiles.wordpress.org/wpscholar/)

[Baixa](https://downloads.wordpress.org/plugin/simple-website-redirect.1.3.2.zip)

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

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

## Descripció

The **Simple Website Redirect** plugin allows to you redirect an entire website (
except the WordPress backend) to another website.

The URL path and query string is preserved when redirecting to the new site. Ideally,
the new site would handle any one-off redirects where a URL for an old page should
point to a new page. The [Redirection](https://wordpress.org/plugins/redirection/)
plugin is great for this purpose.

Find out more about [website redirects for SEO](https://moz.com/learn/seo/redirection).

#### Usage Instructions

Using this plugin is simple:

 1. Install the plugin
 2. Activate the plugin
 3. Go to ‘Settings’ in the WordPress admin menu and then click on ‘Website Redirect’.
 4. Enter the URL you want to redirect the site to, set the desired redirection type,
    set the status to ‘Enabled’ and save your changes!

Note: Redirection type can either be ‘Temporary’ or ‘Permanent’. It is recommended
that you start with ‘Temporary’ while testing and then convert to ‘Permanent’ after
testing for maximum SEO benefit. Please be aware that [browsers cache permanent redirects](https://wpscholar.com/blog/browser-caching-301-redirects/).

## Captures

[⌊Just enter the URL you want to redirect the site to, set the desired redirection
type, set the status to 'Enabled' and save!⌉⌊Just enter the URL you want to redirect
the site to, set the desired redirection type, set the status to 'Enabled' and save
!⌉[

Just enter the URL you want to redirect the site to, set the desired redirection
type, set the status to ‘Enabled’ and save!

[⌊Advanced settings let you configure exclusions to redirects on the front end. 
Very useful if you still need to use a front-end page builder while redirecting 
everything else.⌉⌊Advanced settings let you configure exclusions to redirects on
the front end. Very useful if you still need to use a front-end page builder while
redirecting everything else.⌉[

Advanced settings let you configure exclusions to redirects on the front end. Very
useful if you still need to use a front-end page builder while redirecting everything
else.

## Instal·lació

#### Prerequisites

If you don’t meet the below requirements, I highly recommend you upgrade your WordPress
install or move to a web host that supports a more recent version of PHP.

 * Requires WordPress version 4.0 or greater
 * Requires PHP version 5.4 or greater

#### The Easy Way

 1. In your WordPress admin, go to ‘Plugins’ and then click on ‘Add New’.
 2. In the search box, type in ‘Simple Website Redirect’ and hit enter. This plugin
    should be the first and likely the only result.
 3. Click on the ‘Install’ link.
 4. Once installed, click the ‘Activate this plugin’ link.

#### The Hard Way

 1. Download the .zip file containing the plugin.
 2. Upload the file into your `/wp-content/plugins/` directory and unzip
 3. Find the plugin in the WordPress admin on the ‘Plugins’ page and click ‘Activate’

## Ressenyes

![](https://secure.gravatar.com/avatar/d76a3b2f4a737b0090806420f5ce694c70dd4fa24a27a7b476f04ba4c2629b24?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-1455/)󠁿

 [apuliabikeroute](https://profiles.wordpress.org/apuliabikeroute/) 8 de desembre
de 2022

Just need a plugin just to redirect the old links to the new domain. Needed 5 mins
to do all and works fine

![](https://secure.gravatar.com/avatar/e4b440f82abbd6a518ef5dcbedd239bc608f21dc23ed153479a88e16999a2490?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-9566/)󠁿

 [blunoa](https://profiles.wordpress.org/blunoa/) 25 de octubre de 2022

Work perfectly is easy to set up and is the best tool if you need to redirect the
whole website.

![](https://secure.gravatar.com/avatar/0e958eab38fe5f8d584a41887e7d09db3049a3a10f102859bc772a9e26021c36?
s=60&d=retro&r=g)

### 󠀁[Works Perfectly!](https://wordpress.org/support/topic/works-perfectly-2540/)󠁿

 [YaegerDesign](https://profiles.wordpress.org/yaegerdesign/) 21 de octubre de 2022
1 resposta

This was a really simple option to change domains of a website while waiting on 
DNS updates and domain transfers!

![](https://secure.gravatar.com/avatar/d1591b8a6269ccffc1cdbf140ca1fb1412874734daa383457f9a7e71dce45875?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-7448/)󠁿

 [soulcommerce](https://profiles.wordpress.org/soulcommerce/) 18 de octubre de 2021

Simple, easy to use and ready to go! Congrats!

![](https://secure.gravatar.com/avatar/10b404f36c072c6bf4317d382d8cd6cf3bccf5880ab813c17f4ba64a4859b55d?
s=60&d=retro&r=g)

### 󠀁[Blocks WP-CLI](https://wordpress.org/support/topic/blocks-wp-cli/)󠁿

 [tkaprol](https://profiles.wordpress.org/tkaprol/) 27 de setembre de 2021 1 resposta

I’m running the plugin in a multisite deployment. Currently main site redirected
into another using the plugin. However, we can not run any wp-cli command while 
plugin enabled.

![](https://secure.gravatar.com/avatar/37296c848a5dbd22eca50d5e96aa1ff204ba940b5871d8465f8034c082c4ed21?
s=60&d=retro&r=g)

### 󠀁[super simple ….](https://wordpress.org/support/topic/super-simple-82/)󠁿

 [aaronmspelling](https://profiles.wordpress.org/aaronmspelling/) 7 de maig de 2021
1 resposta

super simple …. and very …… just simple ……. good job dev.

 [ Llegiu totes les 21 ressenyes ](https://wordpress.org/support/plugin/simple-website-redirect/reviews/)

## Col·laboradors i desenvolupadors

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

Col·laboradors

 *   [ Micah Wood ](https://profiles.wordpress.org/wpscholar/)

“Simple Website Redirect” s’ha traduït a 2 configuracions regionals. Gràcies als
[traductors](https://translate.wordpress.org/projects/wp-plugins/simple-website-redirect/contributors)
per les seves aportacions.

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

### Interessats en el desenvolupament?

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

## Registre de canvis

#### 1.3.2

 * Add wp-cron.php to the exclude path.

#### 1.3.1

 * Fix logic for supporting query param exclusion.

#### 1.3.0

 * Fix issue where query params weren’t properly being checked.
 * Allow all REST API calls to work without being redirected (allows WP editor and
   other page builders to work in the admin area).

#### 1.2.9

 * Fix issue where redirects were not properly preserving URL query parameters.

#### 1.2.8

 * Fix issue where redirects were preventing WP-CLI commands from running properly.

#### 1.2.7

 * Allow saving any redirect URL value, but provide a warning to the user if redirecting
   to the same domain.
 * Fix issue where a trailing slash was being added to URLs when it shouldn’t be.

#### 1.2.6

 * Fix issue where some URLs containing file extensions had a trailing slash added.
 * Added WordPress-Redirect-By header.

#### 1.2.5

 * Fix issue with build where vendor directory wasn’t generated.

#### 1.2.4

 * Don’t redirect the REST API
 * Fix to allow use of the customizer without redirecting its contents
 * Fix to allow use of Elementor without redirecting key assets

#### 1.2.3

 * Bug fix to handle issues when saving without setting a redirect URL.

#### 1.2.2

 * Make sure the URL path associated with the WordPress home URL doesn’t get appended
   to the URL when preserving URL paths.
 * Properly sanitize the redirect URL to prevent redirect loops while ensuring compatibility
   with sites installed in a subdirectory.
 * Fixed issue where an empty redirect URL could result in a non-empty redirect 
   URL after filtering.

#### 1.2.1

 * Added the ability to bypass any redirect by appending the `?simple-website-redirect`
   query string.
 * Ensure that redirects are prevented for admin and login pages regardless of where
   WordPress is installed.
 * Fix minor issue where some urls would have double slashes at the beginning of
   the path.

#### 1.2

 * Added the ability to add exclude paths and exclude parameters which, when set,
   will prevent redirects from occurring if a match with one of these exclusions
   is found.

#### 1.1

 * Updated code to comply with strict coding standards.
 * Added an option to redirect all pages to the homepage.

#### 1.0.2

 * Fix bug where redirect URL cannot contain a path
 * Fix bug where redirect URL is sanitized when redirect is disabled.

#### 1.0.1

 * Fix bug where redirect occurred when on login page.

#### 1.0

 * Initial commit

## Meta

 *  Versió **1.3.2**
 *  Darrera actualització **fa 1 any**
 *  Instal·lacions actives **5.000+**
 *  Versió del WordPress ** 4.7 o posterior **
 *  Provada fins a **6.7.6**
 *  Versió del PHP ** 7.4 o posterior **
 *  Idiomes
 * [English (US)](https://wordpress.org/plugins/simple-website-redirect/), [Spanish (Spain)](https://es.wordpress.org/plugins/simple-website-redirect/),
   i [Swedish](https://sv.wordpress.org/plugins/simple-website-redirect/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/simple-website-redirect)
 * Etiquetes
 * [forward](https://ca.wordpress.org/plugins/tags/forward/)[forwarding](https://ca.wordpress.org/plugins/tags/forwarding/)
   [redirect](https://ca.wordpress.org/plugins/tags/redirect/)[redirection](https://ca.wordpress.org/plugins/tags/redirection/)
   [website](https://ca.wordpress.org/plugins/tags/website/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/simple-website-redirect/advanced/)

## Valoracions

 4.6 sobre 5 estrelles.

 *  [  18 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/simple-website-redirect/reviews/?filter=5)
 *  [  1 valoració de 4 estrelles     ](https://wordpress.org/support/plugin/simple-website-redirect/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/simple-website-redirect/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/simple-website-redirect/reviews/?filter=2)
 *  [  2 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/simple-website-redirect/reviews/?filter=1)

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

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

## Col·laboradors

 *   [ Micah Wood ](https://profiles.wordpress.org/wpscholar/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

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

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://www.paypal.me/wpscholar)