D
D
Dmitry Morozov2012-12-27 10:08:58
Apache HTTP Server
Dmitry Morozov, 2012-12-27 10:08:58

How to do mod_rewrite?

Help me make a 301 redirect from index.php?option=com_virtuemart&itemid=100002&category_id=1&page=shop.browse&limit=20&limitstart=20 to /glavnaya/8.html

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dmitry Kuzmin, 2012-12-27
@Dimkaa

There are online generators, play with them .

A
Alexander Gorsky, 2012-12-27
@alcanoid

Redirect 301 index.php?option=com_virtuemart&itemid=100002&category_id=1&page=shop.browse&limit=20&limitstart=20 /glavnaya/8.html

R
rasstroen, 2012-12-27
@rasstroen

Something like
RewriteEngine on
RewriteBase /
RewriteRule ^index.php?option=com_virtuemart&itemid=100002&category_id=1&page=shop.browse&limit=20&limitstart=20$ /glavnaya/8.html [R=permanent]
Worth nginx, can't test it, about possible url escaping bugs can be read, for example, here:
www.htaccess.net.ru/doc/mod_rewrite/RewriteRule.php

O
oENDark, 2012-12-27
@oENDark

Don't help to do it, but do it. Have you even tried it yourself?

R
rasstroen, 2012-12-27
@rasstroen

And try to enable apache RewriteLog and see what and how you rewrite?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question