http://es.stackoverflow.com/a/30340/127
URL
https://mariano.freevar.com/30337/miBuscador/MiLocalizacion/MiCategoria
$_SERVER['PHP_SELF']
/30337/index.php
$_REQUEST
Array
(
[s] =>
[search_post_type] => place
[location] => MiLocalizacion
[category] => MiCategoria
)
.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /30337
#Si va a index.php no hacer nada
RewriteRule ^index\.php$ - [L]
#url amigable
Rewriterule ^miBuscador/([^/]*)/([^/]*)/?$ index.php?s=&search_post_type=place&location=$1&category=$2 [L]
#otras carpetas o archivos
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Headers
Host: mariano.freevar.com
Referer: http://mariano.freevar.com/30337/miBuscador/MiLocalizacion/MiCategoria
Accept-Encoding: gzip, br, zstd, deflate
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Accept: */*