How can I write that the links are not /index.php/myblogs/?p=54353 , and /myblogs/?p=53453453453 ?

  • Why do you need .htaccess? It seems like by default, Apache sends a request to the address of the form "/ myblogs /? P = 53453453453" to the script / myblogs/index.php - timka_s

1 answer 1

In .htaccess list

 RewriteEngine on RewriteRule ^myblogs/([^/\.]+)/?p=$ index.php/myblogs/?p=$1 [L]