URL redirection like conso.cz/?p=4068 etc...
task url https://app.freelo.io/task/10230475
- open url on local if it does something (visible or in the background according to tracy bars, redirect etc.)
- To check if it occurs somewhere in phpstorm press ctrl + shift + f and search for "p" and connection with getQuery or other connection with query params retrieval the same then with 'p' and then, search for cases like .p or .p to go through js files again looking for connections with query retrieval
- Go to routerFactory.php
- if function checkParams exists, just add to unset funtion $params['p'] and done
- if there is no function checkParams, add it from the treeview -> all its cals and the function itself -> but the parameters and conditions that are transferred by copying must be deleted from the function and only what is needed from the task must be set.
- if function checkParams exists, just add to unset funtion $params['p'] and done
- I'll try to click through the site's entry pages to see if they work (category, other products in the category, product detail, blog and other articles there, etc.).