mg404Rewrite

Beschreibung

Permalinks – suchmaschinenfreundlich – ohne Parameter werden nicht immer vom Hosting-Provider unterstützt. Das erforderliche Modul “mod_rewrite” wird nicht angeboten. Dieses Plugin sendet in Abhängigkeit der Anfrage den entsprechenden HTTP-Header, wenn ohne RewriteRules über die Fehlerbehandlung Permalinks aktiviert werden.

Description

Pretty Permalinks requires outofthebox the module mod_rewrite. This module is a workaround to use pretty permalinks without any rewrite rule. The errorhandling – customized errorpage – will be used to resolve pretty permalinks. mg404Rewrite-Modul sends HTTP-Header-Code depending on the request.

Download

Installation

Das heruntergeladene Paket in das WordPress-Plugin Verzeichnis entpacken und über die Pluginverwaltungsseite aktivieren.

Provider

Hier eine Auflistung der Provider bei welchem dieses Plugin funktioniert.

ToDo

  • HTTP-Post an Permalinks
  • HTTP-Post to Permalinks

Changelog

0.1 HTTP-Status 200 OK
0.2 Modify HTTP-Header not for WordPress-404
0.3 Add GPL (http://www.gnu.org/copyleft/gpl.html) license information.
    Plugin URI changed.
0.4 Overwrite .htaccess-Rules to use ErrorDocument and protect for any mod_rewrite-Rule
0.5 Trackback-Requests will be ignored, because WordPress set the HTTP-Status to 302.
0.6 HTTP-Post will not deliverd by Apache 404 Errorhandling. 
    Trackback-URL have to be used without permalinkstructure.
    Use prefix mg404_ for all functions.
0.7 HTTP-Post workaround: mg404rewrite/index.php = Post-Proxy
    1. Determine any form with method POST.
    2. Determine action URL.
    3. Do nothing for non-permalink.
    4. Change action URL to .../mg404rewrite/index.php.
    5. Insert hidden formfield with original action URL to handle request in .../mg404Rewrite/index.php.
    6. .../mg404Rewrite/index.php: Overwrite requested URL with original Post-URL and include WordPress index.php.
0.8 Add Tested up to: 2.7.1 in readme.txt
0.9 Change Tested up to: 2.8.6, Stable tag: 0.9 and any URL from blog.mgsimon.de to mgsimon.de in readme.txt
    Change any URL from blog.mgsimon.de to mgsimon.de

10 Antworten zu “mg404Rewrite”

  1. Design-Technik-Anwendung » mod rewrite - Strato sagt:

    [...] Links suchmaschinenfreundlich zu gestalten wird nicht von jedem Hostinganbieter unterstützt bzw. das Modul mod-rewrite existiert nicht. Die Lösung dazu findet man hier:mgsimon`s Blog. [...]

  2. AdWz WP-Plugin 10 - 302 Found | mgBlog sagt:

    [...] Plugin mg404Rewrite überschreibt bis zur Version 0.4 bei erfolgreichen Anfragen den HTTP-Statuscode 404 Not Found [...]

  3. Zed Lau sagt:

    Hi,
    rencently, i found if i put wordpress in the root(/public_html) and enable the mod_rewrite function then the subdirection in the /public_html which enabled cpanel direction protect will return 404. could you help me about this?

  4. mgsimon sagt:

    Do you use mg404rewrite?

    mod_rewrite:
    Use a subdirectory for WordPress or modify .htaccess to resolve other URLs.

  5. AdWz WP-Plugin 8 – Plugin 4 All » mgBlog sagt:

    [...] eine vorhandene URL zur Plugin Home Page mit Beschreibungen der Funktionen und der Installation (mg404Rewrite) [...]

  6. AdWz WP-Plugin 11 – Trackbacks » mgBlog sagt:

    [...] aktuellste Version des Plugins ist auf der Plugin-Homepage zu [...]

  7. HostEurope Webanwendungen – WordPress | mgBlog sagt:

    [...] neue Version ist auf der Plugin-Seite und im WordPress Plugin [...]

  8. mg404rewrite 0.7 | mgBlog sagt:

    [...] neue Version ist auf der Plugin-Seite und im WordPress Plugin [...]

  9. M sagt:

    Works with HostEurope WebPack M and WP 2.9.1 — thanks for this! Keep up the good work!

  10. mg sagt:

    @M; Thank you for the feedback. I add HostEurope to the provider list.

Hinterlasse eine Antwort