WordPress.org

Ready to get started?Download WordPress

Forums

Rewrite API (2 posts)

  1. pankaj.sakaria
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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