Imaulle Posted June 28, 2009 Share Posted June 28, 2009 I need to change where one of my catagories points to. right now it points to a cpath but I'd like it to point to something like 'product_info.php?products_id=693' instead. is this possible? or if this can't be done is it possible to change the product description length? because really all I want is the full paragraph from the details page to show up on the cpath page. thanks! Link to comment Share on other sites More sharing options...
spooks Posted June 28, 2009 Share Posted June 28, 2009 not smthing that would be that easy to do, your best bet might be to look at using htacces to redirect a cpath link Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Imaulle Posted June 28, 2009 Author Share Posted June 28, 2009 that was actually the first thing I tried and I couldn't get it to work... this is the .htaccess file RewriteEngine On RewriteCond %{QUERY_STRING} ^cpath=46$ RewriteRule ^index.php?cPath=46$ /product_info.php?products_id=693 [R=301,L] shouldn't that work? :( Link to comment Share on other sites More sharing options...
spooks Posted June 28, 2009 Share Posted June 28, 2009 that was actually the first thing I tried and I couldn't get it to work... this is the .htaccess file RewriteEngine On RewriteCond %{QUERY_STRING} ^cpath=46$ RewriteRule ^index.php?cPath=46$ /product_info.php?products_id=693 [R=301,L] shouldn't that work? :( no try RewriteEngine On RewriteCond %{QUERY_STRING} ^cpath=46$ RewriteRule ^product_info.php?products_id=693 [R=301,L] Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Imaulle Posted June 28, 2009 Author Share Posted June 28, 2009 no that does not work :( Link to comment Share on other sites More sharing options...
Imaulle Posted June 30, 2009 Author Share Posted June 30, 2009 okay I got it to work when it is just http://www.domain.com/index.php?cPath=46 but sometimes it will be http://www.domain.com/index.php?cPath=46&osCsid=smtsodupgpmmtne1cf8r18j6b2 the last part is random. some type of session ID.. how do I fix it to get both? this is how I fixed it for the first one... RewriteEngine On RewriteCond %{QUERY_STRING} ^cPath=46$ RewriteRule ^index\.php$ /product_info.php?products_id=693 [R=301,L] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.