341
Dank an den Experten!
Gruss
Mike
Gruss
Mike
RewriteEngine on
RewriteBase /
RewriteRule ^ordner(.*) http://www.neuedomain.com/ordner$1 [R=301,L]
RewriteRule ^ordner2(.*) http://www.neuedomain.com/ordner2$1 [R=301,L]
RewriteRule .* http://www.neuedomain.com/ [R=301]
# BEGIN s9y
ErrorDocument 404 /index.php
DirectoryIndex /index.php
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^meinungsfreiheit\.li
RewriteRule ^(.*)$ http://meinungsfreiheit.li/$1 [L,R=301]
RewriteCond %{THE_REQUEST} index\.php
RewriteRule ^(.*)index\.php http://meinungsfreiheit.li/$1 [L,R=301,QSA]
RewriteRule ^((archives/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.html)/?) index.php?/$1 [NC,L,QSA]
RewriteRule ^(authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^archives([/A-Za-z0-9]+)\.html index.php?url=/archives/$1.html [NC,L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^archive/? index.php?url=/archive [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^comments/(.*) index.php?url=/comments/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
Die ganzen Redirects einzelner URLs erspare ich Euch jetzt, die musste ich setzen, damit ich den Systemwechsel einigermassen gut überstehe. RewriteCond %{THE_REQUEST} index\.php
RewriteRule ^index\.php http://meinungsfreiheit.li/ [L,R=301]
# BEGIN s9y
ErrorDocument 404 /index.php
DirectoryIndex /index.php
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^meinungsfreiheit\.li
RewriteRule ^(.*)$ http://meinungsfreiheit.li/$1 [L,R=301]
RewriteCond %{THE_REQUEST} index\.php
RewriteRule ^index\.php http://meinungsfreiheit.li/ [L,R=301]
RewriteRule ^((archives/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.html)/?) index.php?/$1 [NC,L,QSA]
RewriteRule ^(authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^archives([/A-Za-z0-9]+)\.html index.php?url=/archives/$1.html [NC,L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^archive/? index.php?url=/archive [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^comments/(.*) index.php?url=/comments/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
Redirect permanent /2007/04/27/meinungsfreiheit-und-die-firma-ongate-gmbh/ http://meinungsfreiheit.li/archives/Meinungsfreiheit-und-die-Praktiken-von-Firmen-689.html
Hier noch der geänderte Code...Thema | Autor | Forum | Beiträge | Letzter Beitrag |
---|---|---|---|---|
htaccess Weiterleitung | breitformat | Webserver und .htaccess | 4 | 07.06.2024 10:37 |
301 weiterleitungen funktionieren nicht mehr? | cybermaeck | Webserver und .htaccess | 3 | 17.05.2024 13:58 |
index.html 301 Weiterleitung too many redirects. | taralushi | Webserver und .htaccess | 3 | 27.08.2023 21:22 |
301 Weiterleitung auf .html | taralushi | Webserver und .htaccess | 5 | 23.08.2023 15:15 |
Redirect 301 Fehler | qwerti | Webserver und .htaccess | 8 | 27.01.2023 15:18 |
301 Weiterleitungen bei dynamischen URL's | Stephan | Webserver und .htaccess | 2 | 15.12.2022 16:23 |
SSL Zertifikat und Weiterleitung zur mobilen Website | Michael Bethlehem-Ka | Webserver und .htaccess | 8 | 08.11.2022 09:12 |