Links like http://site.ru/questions/something_else/ are called CNC . In fact, there may be no questions and something_else folders. In this case, you need to read about mod_rewrite and htaccess
PS I can tell you about the method that I use personally. I prescribe in .htaccess:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [L]
At the very top of the index.php document I connect a file handler in which, using $ _SERVER ['REQUEST_URI'], I get a line of the following form: / questions / something_else /, which I divide into components:
$url = $_SERVER['REQUEST_URI']; $url = explode("/", $url);
"Kill" in the resulting array empty elements and get individual values, the use of which is a matter of technology.