Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| homepage:info:redirection [2018/07/18 09:37] – créée radeff | homepage:info:redirection [2023/01/19 07:33] (Version actuelle) – radeff | ||
|---|---|---|---|
| Ligne 7: | Ligne 7: | ||
| <?php | <?php | ||
| header(" | header(" | ||
| - | header(" | + | header(" |
| exit(); | exit(); | ||
| ?> | ?> | ||
| Ligne 23: | Ligne 23: | ||
| <script type=" | <script type=" | ||
| <!-- | <!-- | ||
| - | window.location = "http://www.google.com/" | + | window.location = "https://www.radeff.red/" |
| //--> | //--> | ||
| </ | </ | ||
| </ | </ | ||
| - | ===== Dokuwiki ===== | ||
| - | plugin GOTO: http:// | ||
| - | |||
| - | You can put the GOTO string anywhere in the document, but it probably makes the most sense to put it at the top. | ||
| - | < | ||
| - | ~~GOTO> | ||
| - | </ | ||
| - | The above will force the document to redirect to the syntax page after the default amount of seconds. You can change the default number of seconds by editing the plugin (by default, this is 10 seconds). | ||
| - | |||
| - | You can change the number of seconds on the fly like so: | ||
| - | < | ||
| - | ~~GOTO> | ||
| - | </ | ||
| - | ===== Apache / .htaccess ===== | ||
| ===== Dokuwiki ===== | ===== Dokuwiki ===== | ||
| plugin GOTO: http:// | plugin GOTO: http:// | ||
| Ligne 62: | Ligne 48: | ||
| RewriteRule (.*) https:// | RewriteRule (.*) https:// | ||
| </ | </ | ||
| + | ===== Redirect c5 / rediriger ===== | ||
| + | |||
| + | $r = Redirect:: | ||
| + | $r-> | ||
| + | exit; | ||