Jump to content

mod rewrite problem


nvso

Recommended Posts

I'm trying to work around with mod-rewrite but cant get it working quite the way i wanted to. Basicly, what I want to achieve, is to convert url like this:

 

www.mysite.com/products/maincategory/subcategory/lower/sony-ps3-80gb (so this is what I want search engines to see)

 

TO

 

www.mysite.com/index.php?page=products&path=maincategory/subcategory/lower&product=sony-ps3-80gb (and this is what I want PHP to see)

 

The number of categories in the string "path" can vary

 

I guess this should be done with QUERY_STRING but regardless of my efforts, I don't understand how :(

Link to comment
https://forums.phpfreaks.com/topic/187114-mod-rewrite-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.