X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Redirect to Product Page when only One product in category (https://forum.x-cart.com/showthread.php?t=23339)

luxor 11-13-2007 09:58 AM

Re: Redirect to Product Page when only One product in category
 
does this mod work with 4.1.8 if so, can someone post the latest code

we have sub categories , and a seo url rewirte installed

balinor 11-13-2007 09:59 AM

Re: Redirect to Product Page when only One product in category
 
It works fine, I have used it in 4.1.8 without issue.

Steve-C 11-19-2007 07:04 AM

Re: Redirect to Product Page when only One product in category
 
Anyone got a fix to make this great mod work with Safetynetweb's DSEFU ?

Steve-C 11-30-2007 04:33 AM

Re: Redirect to Product Page when only One product in category
 
Just out of interest, I contacted John Heath at SafetyNetWeb and he very quickly and efficiently fixed the file for me. Now it works great with the DSEFU. Excellent service.

You can contact him at safetynetweb.com ****E-MAIL removed by mod ***

instink 02-06-2008 10:25 PM

Re: Redirect to Product Page when only One product in category
 
Love this mod! Does anyone know a way to make it so that if there is only one subcategory and no products that it will redirect to that category? Sounds silly I know but the categories in my shop are getting a little out of hand :) thanks!

jeanne 04-10-2008 06:38 PM

Re: Redirect to Product Page when only One product in category
 
In my Google account I get a Warning on my Sitemap that I have pages that returning 302 redirects. It looks like the only products that have the problem pages are the ones that use this redirect. I'm going to turn this off and see if this is the problem.
If anyone else has seen this, I'd like to know.

craichead 06-11-2008 09:13 PM

Re: Redirect to Product Page when only One product in category
 
any news on the last question?

Also, i'm getting the following error after installing BCSE back/preorder mod:

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wd_newest/include/preorder_search.php:13) in /Applications/MAMP/htdocs/wd_newest/var/templates_c/%%3D^3DB^3DBA0730%%subcategories.tpl.php on line 8

Best,

B

Stizerg 04-10-2009 07:47 AM

Re: Redirect to Product Page when only One product in category
 
It works on 4.1.12
We'll see what google thinks about it.

Jon, your code for CDSEO doesn't work. Can you update it please?

Jon 04-10-2009 11:34 AM

Re: Redirect to Product Page when only One product in category
 
Quote:

Originally Posted by Stizerg
It works on 4.1.12
We'll see what google thinks about it.

Jon, your code for CDSEO doesn't work. Can you update it please?


The CDSEO code is for CDSEO Basic only. For CDSEO Pro you can use the default code and the url will 301 redirect to the CDSEO Pro url.

Jon Peters

Stizerg 04-10-2009 06:22 PM

Re: Redirect to Product Page when only One product in category
 
Yes, but it redirects to "monaco-suspender-belt.html?&cat=14" instead of "monaco-suspender-belt.html"
For customer it looks alright, I don't mind but Google can find it as duplicate content because both addresses exist.

Don't worry, just decided to remove it as it can confuse some 'blond' customers.

Thanks.


All times are GMT -8. The time now is 02:53 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.