Herzlich willkommen im Archiv vom ABAKUS Online Marketing Forum
Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.
@Kay1979mod_alias is designed to handle simple URL manipulation tasks. For more complicated tasks such as manipulating the query string, use the tools provided by mod_rewrite.
Code: Alles auswählen
<IfModule mod_rewrite.c>
RewriteCond %{QUERY_STRING} ^cPath=25_27&products_id=890
RewriteRule /product_info\.php /Europa/Nordeuropa/Finnland-Button-37-mm.html [R=301,L]
</IfModule>
Code: Alles auswählen
Produkte:
RewriteCond %{QUERY_STRING} ^cPath=25_27&products_id=890$ [OR]
RewriteCond %{QUERY_STRING} ^cPath=25_27&products_id=890&osCsid=[0-9a-z]+$
RewriteRule ^/product_info\.php$ /Europa/Nordeuropa/Finnland-Button-37-mm.html? [R=301,L]
Kategorien:
RewriteCond %{QUERY_STRING} ^cPath=25_27$ [OR]
RewriteCond %{QUERY_STRING} ^cPath=25_27&osCsid=[0-9a-z]+$
RewriteRule ^/index\.php$ /Europa/Nordeuropa/? [R=301,L]
Code: Alles auswählen
RewriteEngine on
RewriteCond %{HTTP_HOST} ^flaggenbutton.de$ [NC]
RewriteRule ^(.*)$ http://www.flaggenbutton.de/$1 [R=301,L]
RewriteRule ^product_info\.php$ /Europa/Nordeuropa/Finnland-Button-37-mm.html? [R=301,L]
Code: Alles auswählen
Escaping:
\char escape the given char
(for instance, to specify the chars ".[]()" etc.)