apache - .htaccess modrewrite problem -
apache - .htaccess modrewrite problem -
i have website on wordpress , have written plugin required seo friendly url stuck @ following
http://domain.com/catalogue-category/1/ working fine when replace /1/ name of category http://domain.com/catalogue-category/seating/ not work @ , gives me 404 error.
its working @ /catalogue-category/?cat=seating
my apache rewrite rule
rewriterule ^catalogue-category/^([^/]+)/$ /catalogue-category/?cat=$1 [l] i not in mod rewrite in php, please bear ignorance , treat me rookie.
looking forwards hear gurus :)
try:
rewriterule ^catalogue-category/([^/]+)/$ /catalogue-category/?cat=$1 [l] you using caret ^ twice in regex pattern (^catalogue-category/^([^/]+)/$), caret asserts match should start of string.
apache wordpress .htaccess mod-rewrite wordpress-plugin
Comments
Post a Comment