Seite 1 von 1

selbe index.php, 301 redirect tag1 -> tag2

Verfasst: 14.11.2006, 15:01
von saudepp
sorry, mal wieder ne 301 frage -- habe aber jetzt lange genug gesucht.

ich möchte

https://domain/index.php?section=tag1

weiterleiten auf

https://domain/index.php?section=tag2

Klingt eigentlich einfach.

Folgendes geht nicht:

Code: Alles auswählen

Redirect Permanent http://domain/index.php?section=tag1 http://domain/index.php?section=tag2

Code: Alles auswählen

RewriteEngine on
rewriteRule ^index.php?section=tag1$ http://domain/index.php?section=tag2 [R=permanent,L]

Das hier geht, aber nur weil das ? durch ein & ersetzt wurde:

Code: Alles auswählen

Redirect Permanent /index.php&section=tag1 http://domain/index.php?section=tag2
Das ? scheint also das Problem zu sein ...

Verfasst:
von
SEO Consulting bei ABAKUS Internet Marketing
Erfahrung seit 2002
  • persönliche Betreuung
  • individuelle Beratung
  • kompetente Umsetzung

Jetzt anfragen: 0511 / 300325-0.


Verfasst: 14.11.2006, 17:07
von saudepp
keiner ne idee?