| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
xc seo url rewrite sending products with "print" in the title to printable page | |||
![]() |
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
![]() Hey I just ran into a problem where if I have "print" in a products name the page the customer is sent to is the printable page which of course looks like the site just broke. I could go through and change each one in the admin but I'd rather not and I know there is a better solution.
My first idea was to go into the .htaccess and rewrite some of the rules, but I don't know how to change it properly. If anyone can help here is what I think is causing my problem (in particular the RewriteRule ^([^/]*/)?[^/]+-print-pr-([0-9]+)\.html$ rule) Code:
My other idea was maybe I could go into the product section of the sql and replace any "print" to "prints" in the title of the products which I think I can do on my own. Will that work alright?
__________________
Version 4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
![]() Moving to Third Party Add-ons
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() thanks
![]()
__________________
Version 4.1.8 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() If you don't use the printable pages, one option is to comment out the lines with "print" in your .htaccess file and remove the link for printable pages on your website.
|
|||||||||
#5
|
|||||||
|
|||||||
![]() I don't so that works perfectly! Thanks
![]()
__________________
Version 4.1.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|