http://es.stackoverflow.com/a/30340/127

URL

http://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
User-Agent: claudebot
Accept: */*

Free Web Hosting