Question mark and query strings in Apache Rewrite Rules

The apache rewrite module is very useful for defining precise URLs according to our needs, hiding also what we don’t want to expose to the final user. The RewriteCond means “execute the next RewriteRule only if this is true”. An example can be a redirect in the case of image […]

Read More…

Javascript object to query string

js object to querystring

It can often be useful to transform a javascript object into a query string dynamically, without necessarily knowing the properties of that object. Another good reason is to avoid concatenation for each individual parameter. This method can be used also in javascript/typescript frameworks like: Angular, React, Svelte, etc. This is […]

Read More…