Hello. I have no idea how, so i'll ask you.

I need /s/index.php?i=123

to be


any direction or tips would be appreciated!


In .htaccess file create the code below :

RewriteEngine on
RewriteRule ^s/([0-9]*)/?$ s/index.php?i=$1 [L,QSA]


RewriteRule ^([0-9]*)/?$ index.php?i=$1 [L,QSA]

Remember if you use rewriterule using .htaccess in your local server (the case i'm use xampp), you must uncomment the line:
LoadModule rewrite_module modules/mod_rewrite.so in file httpd.conf

for default it has # prefix
#LoadModule rewrite_module modules/mod_rewrite.so, just remove the #.

Find file named httpd.conf in folder "xampp -> apache -> conf".