Jump to content

Exceptions for url rewrite


Stiegi

Recommended Posts

Hallo!

 

In our shop https://my-lab.com/analytics/ I'd like to activate friendly urls.

Now the problem is, as soon as I activate it, the order and authentication controller don't show up anymore.

 

So, since I think it is too much afford to fix that bug (we have a multilangual multishop with a custom order module etc...) I want to remain the normal php-urls in all the urls with the order and authentification controller, like:

 

index.php?controller=authentication

 

BUT I want the friendly urls on the category- and product pages, and ONLY there, not anywhere else. So I want to rewrite urls like:

 

https://my-lab.com/analytics/index.php?id_product=543&controller=product&id_lang=2

and

https://my-lab.com/analytics/index.php?id_category=90&controller=category&id_lang=2

 

I ONLY want to rewrite the url of every page that uses the product / category controller.

 

Does anybody know how I have to set up the .htaccess mod_rewrite rule to accomplish that?

 

Thank you very much in advance!

Edited by Stiegi (see edit history)
Link to comment
Share on other sites

  • 3 months later...

I have a similar issue with a module. I want the friendly URLs option on, but as soon as I do that, the infinite scroll module stops working. It calls to /module/infinitescroll/ajax?p=2&current_id=3&scroll_type=category&orderby=position&orderway=asc and with friendly URLs this goes to a 404 page... Any ideas?

Edited by Xurxo DZ (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...