Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mod_rewrite questions


eliquid

Recommended Posts

Posted

I have a store that has URL's like this now:

http://www.some_domain.com/catalog/index.php/cPath/45_82_199

 

 

On some of these URL's, I want to extend and make more seo friendly a URL like this:

http://www.some_domain.com/catalog/ekg_monitors.php

 

I am only wanting to do this to a FEW SELECT URL's in my store only. How do I accomplish this? I was using a 301 to a static page called /ekg_monitors.php from /catalog/index.php/cPath/45_82_199, but this doesnt help me when I add products to this category within OScommerce as I would have to then edit the static page as well. I just want to 'rewrite' this one URL:

http://www.some_domain.com/catalog/index.php/cPath/45_82_199

 

to:

http://www.some_domain.com/catalog/ekg_monitors.php so that the page has a new name now. I have tried some of the tutorials on found using Google and cannot seem to get it to work... any advice?

Posted
I have a store that has URL's like this now:

http://www.some_domain.com/catalog/index.php/cPath/45_82_199

On some of these URL's, I want to extend and make more seo friendly a URL like this:

http://www.some_domain.com/catalog/ekg_monitors.php

 

I am only wanting to do this to a FEW SELECT URL's in my store only. How do I accomplish this? I was using a 301 to a static page called /ekg_monitors.php from /catalog/index.php/cPath/45_82_199, but this doesnt help me when I add products to this category within OScommerce as I would have to then edit the static page as well. I just want to 'rewrite' this one URL:

http://www.some_domain.com/catalog/index.php/cPath/45_82_199

 

to:

http://www.some_domain.com/catalog/ekg_monitors.php so that the page has a new name now. I have tried some of the tutorials on found using Google and cannot seem to get it to work... any advice?

 

 

make sure your ReadwriteEngine is turned to on

 

RedirectMatch permanent ^/catalog/index.php/cPath/45_82_199$ http://www.some_domain.com/catalog/ekg_monitors.php

Archived

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

×
×
  • Create New...