B
B
benkerrry2018-11-18 00:49:44
htaccess
benkerrry, 2018-11-18 00:49:44

Can't make a rule with Mod Rewrite?

Please help me to make a rule for
htaccess


echo '<p><a href="'.$host.'/nameshop/'.$category.'/'.$alias_product.'">'.$name_product.'</a></p>';

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2018-11-18
@shambler81

get - not part of the url

RewriteCond %{QUERY_STRING} (^|&)product\=32955879185($|&)
RewriteRule ^category/product/index\.php$ /nameshop/category/alias_product? [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question