The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Friendly urls - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Friendly urls (/showthread.php?tid=936)



Friendly urls - shoropio - 02-07-2018

Hello everyone, I was wondering if someone has played with .htaccess to create friendly urls, for example admin-user/juan and not admin_user.php?Id=3


Friendly urls - shoropio - 02-07-2018

This has been hitting me very hard.


Friendly urls - mudmin - 02-07-2018

That's generally done with a framework that's built on the MVC structure. It can be done in .htaccess but it gets tricky. I've talked about converting UserSpice to MVC, but most people seem to like that the code is relatively easy to understand and that would go away with mvc.



Friendly urls - shoropio - 02-07-2018

Thank you very much @mundmin. You could help me with this topic or I'm just daydreaming.


Friendly urls - mudmin - 02-07-2018

There may be a way to do it with userspice, but I'm not sure how. Some people do it by editing php.ini and their apache settings. You might have better luck with that.

The reason we don't do that sort of thing is that different answers work on different servers. UserSpice works on pretty much everything and this would break that.