Jump to content
  • 0

How can i rewrite url ?


Question

Posted

For example, I need to rewrite "/order/main/packages/ssl/?group_id=1"  to "/order/ssl/group_id=1", " /order/config/index/ssl/?group_id=1&pricing_id=1" to "/order/ssl/config/group_id=1&pricing_id=1" and so on.

Where and how do I set it?

Tks!

8 answers to this question

Recommended Posts

  • 0
Posted
11 hours ago, Amit Kumar Mishra said:

not sure mate

may be you have to do some customization is the miniphp mvc thing

but not sure

 

may be @Paul or @Tyson may be able to guide on this

Thanks again!

  • 0
Posted
8 hours ago, Tyson said:

You can create a rewrite rule in the .htaccess or you can update the URI routes in /config/routes.php for the order plugin

Is there a successful case to refer to?

Or, any official guidelines?

 

  • 0
Posted
8 hours ago, Tyson said:

The routes configuration can be updated to map to specific controllers/methods in the framework. The .htaccess can be updated to rewrite specific URLs. Either way will require some knowledge of regular expressions.

Thank you,

I'll try it.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...