I think your problem is that you're still linking to
Code: Select all
http://localhost/RedSquare/MainSite/cms/index.php?s=products&a=edit&productStockCode=71304
and wanting it to show up as
Code: Select all
http://localhost/RedSquare/MainSite/cms/index.php/products/edit/71304
in the address bar. mod_rewrite and htaccess don't actually rewrite the URL that shows up in the address bar. What mod_rewrite is doing is secretly pointing anything that matches the clean look to instead point to the index.php file with the arguments.
If this is the case, change all your links in your site to point directly to
Code: Select all
http://localhost/RedSquare/MainSite/cms/index.php/products/edit/71304
add the htaccess lines that d11wtq posted, and put the htaccess file in the same directory as your index.php file. This will make it so that anytime you link directly to
Code: Select all
http://localhost/RedSquare/MainSite/cms/index.php/products/edit/71304
it gets pointed to
Code: Select all
http://localhost/RedSquare/MainSite/cms/index.php?s=products&a=edit&productStockCode=71304