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

XC SEO Lite v1.0.0 Released

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 09-20-2006, 11:21 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by Jerrad
Thanks for the quick replies, intel!

Any suggestions how to stop searchbots visiting the Printable & Sort urls?

I'm not sure what would be the best approach. It's possible to alter seo.php to check if the user-agent was identified by X-Cart as a bot, and if so, do a 301-redirect to the non-print, non-sort alias.

I'll have an update for you today or tomorrow
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #12  
Old 09-20-2006, 11:23 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by intel352
I'm not sure what would be the best approach. It's possible to alter seo.php to check if the user-agent was identified by X-Cart as a bot, and if so, do a 301-redirect to the non-print, non-sort alias.

I'll have an update for you today or tomorrow

Looking forward to that update.
Many thanks for all of your hard work, intel!
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #13  
Old 09-20-2006, 12:20 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

v1.0.2 added, outputfilter now does NOT add the printable/sort bits to the url for Bots, and seo.php will redirect a bot that is trying to visit a printable/sort URL (for categories, manufacturers, products, other areas of x-cart are still not yet supported)
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #14  
Old 09-20-2006, 12:42 PM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: XC SEO Lite v1.0.0 Released

Some of my pages are already indexed by Google, etc. The old links listed are not redirecting to the new SEO-friendly ones for some reason. If I use an old link, I get a blank page (viewing page source reveals no html code whatsoever).

This one for example:

http://www.jbox.ca/product.php?productid=12&cat=0&page=1

Cheers,
Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #15  
Old 09-20-2006, 12:44 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

which version are you using? 1.0.0, 1.0.1, or 1.0.2? (lol, been too busy on this mod today)

Additionally, make sure error reporting is enabled or check error logs so we can find out what's breaking.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #16  
Old 09-20-2006, 12:53 PM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: XC SEO Lite v1.0.0 Released

Installed from 1.0.1, updated seo.php and include/templater/plugins/outputfilter.seo.php to 1.0.2. How do you enable error reporting, or is this a server php configuration setting?

Thanks,
Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #17  
Old 09-20-2006, 12:54 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

config.php, search for "debug", make sure reporting level is set to 3 for right now, so that it's echoed out and recorded in your error logs. once we're done debugging, set it back down to a hidden level (logs only)

additionally, you can check error logs by looking in var/logs/ and search for errors_php (something like that). look for the newest dated file, should be today's date.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #18  
Old 09-20-2006, 01:14 PM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: XC SEO Lite v1.0.0 Released

My reporting level was already set for 3. Today's var/log/x-errors_php file contains no errors. Not sure what's going on.

Cheers,
Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #19  
Old 09-20-2006, 01:32 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

Check your PM inbox. Since it's 5:30 EST, I won't be able to work on this any more tonight (gotta head home, no net connection at the house currently), but keep me updated regarding if you're able to find anything else out.

Additionally, I found that the .htaccess file is missing a couple of rules regarding Manufacturer pages (for Sorting), the .htaccess file has been updated in the repository, but I haven't been able to package a new release yet.

Here's the .htaccess file via the repository:
http://x-cart-seo.googlecode.com/svn/trunk/.htaccess
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #20  
Old 09-20-2006, 02:05 PM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: XC SEO Lite v1.0.0 Released

Thanks for the quick update!
And I wouldn't know what to do with my life without a net connection at the house...
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 04:07 AM.

   

 
X-Cart forums © 2001-2020