L
L
lexstile2017-03-01 13:25:03
Joomla
lexstile, 2017-03-01 13:25:03

How to redirect to joomla 1.5?

Redirect from the page: site.ru/index.php?option=com_contact&view=contact&...
To the page: site.ru/2011-12-30-06-36-33
I tried this (does not work): #Page
Contacts
RewriteCond % {QUERY_STRING} =option=com_contact&view=contact&id=1&Itemid=56
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9] {32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ /index.php/2011-12-30-06-36-33? [R=301,L]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2017-03-01
@shambler81

#гет запросы по отдельности, че вы их в кучу то?
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{QUERY_STRING} (^|&)option\=com_contact($|&)
RewriteCond %{QUERY_STRING} (^|&)view\=contact($|&)
RewriteRule ^site\.ru/index\.php$ /site.ru/2011-12-30-06-36-33? [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question