Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

CDSEO Pro / Clean URL Fix

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 11-17-2014, 11:36 AM
 
notgrass notgrass is offline
 

Advanced Member
  
Join Date: Dec 2011
Location: Tennessee
Posts: 33
 

Default CDSEO Pro / Clean URL Fix

I searched the forums but did not see this addressed. It was not addressed on the Smack Digital site either.

When you use CDSEO Pro and disable Clean URLs in X-Cart, X-Cart does weird stuff to existing Clean URLs when you modify certain pages/products. This breaks the functionality of CDSEO Pro.

BCS Engineering has a fix for this regarding product pages:

https://support.bcsengineering.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticl eid=272&nav=0,1,17

But I was still having problems with Static Pages. In admin/pages.php, I made this modification that seems to have fixed the problem. Under // Insert/Update Clean URL, I commented out the code executed by the if statement:

if ($config['SEO']['clean_urls_enabled'] == 'N') {
/*
// Autogenerate clean URL.
$clean_url = func_clean_url_autogenerate('S', $clean_url_pageid, array('title' => $pagetitle));
$clean_url_save_in_history = false;
*/
}
__________________
X-Cart v4.6.5
www.notgrass.com/notgrass/
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:59 AM.

   

 
X-Cart forums © 2001-2020