Hello everybody
I've got one question.
Is there any possibility, to rewrite some SS URL adress in .htaccess file, from one to another?
I've just want to add custom rule to htaccess without processing URL it with controller.
For example:
I've got URL like:
www.mysite.com/realize?choice=b2b&s=name
where "realize" is SS URL, with some $_GET values, i'm working with. It works great.
But:
I'm trying to change this URL to something like this:
www.mysite.com/object-spa/hotels
I was trying add simple rule like:
RewriteCond %{HTTP_HOST} ^www.mysite.com/object-spa/hotels$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/realize?choice=b2b&s=name[L,R=301]
before line with patch to controller:
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
But it didn't work.
I've also red some about Director class , and there was information, that i could add some rule into config.php file, but honestly, i didn't understand this doc well, and still don't know , how it exactly works.
Is anybody know, how could i solve this issue? I'm new with SS, and i'm still learning, so i will appreciate any replies .
Thanks
Przemek