.htaccess - I'd like to remove a constant from a URL with htaccess -


i have site url's this:

http://website.com/browse/wedding-service-providers/bridal-wear-and-accessories/ 

i'd remove

/browse/wedding-service-providers 

from url each time resulting url is

http://website.com/bridal-wear-and-accessories/ 

thanks :)

    rewriteengine on     rewritebase /        rewriterule ^(.*)-c-(.*)$ index\.php?main_page=index&cpath=$2&%{query_string} [l]   url http://website.com/bridal-wear-and-accessories-c-3/ in url 3 id of category 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -