Rewrite API (2 posts)

  1. pankaj.sakaria
    Posted 2 years ago #

    I have e-commerce web site and using custom parameter.
    Url : localhost/myproject/product?id=2

    From url i want to use localhost/myproject/product/2
    i already used add_rewrite_rule but didn't work.
    Please help!!!

  2. bcworkz
    Posted 2 years ago #

    Couldn't say without more information. What code did you use? What does the wordpress section of your .htaccess file look like? One thing that sometimes happens is wordpress loses it's ability to edit the .htaccess file due to file system changes to tighten security.

Topic Closed

This topic has been closed to new replies.

About this Topic