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)
-   -   XC SEO Lite v1.0.0 Released (https://forum.x-cart.com/showthread.php?t=25106)

intel352 09-20-2006 11:21 AM

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 :-)

Jerrad 09-20-2006 11:23 AM

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!

intel352 09-20-2006 12:20 PM

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)

Jayk 09-20-2006 12:42 PM

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

intel352 09-20-2006 12:44 PM

Re: XC SEO Lite v1.0.0 Released
 
which version are you using? 1.0.0, 1.0.1, or 1.0.2? :-D (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.

Jayk 09-20-2006 12:53 PM

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

intel352 09-20-2006 12:54 PM

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.

Jayk 09-20-2006 01:14 PM

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

intel352 09-20-2006 01:32 PM

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

Jerrad 09-20-2006 02:05 PM

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... :)


All times are GMT -8. The time now is 11:22 AM.

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