• I have a taxonomy search form in wordpress and the link output is

    https://localhost/wp/?cityid=16

    But i want it to be rewrited as

    https://localhost/wp/cityid/16

    .htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>
    
    # END WordPress
  • The topic ‘URL rewriting’ is closed to new replies.