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)
-   -   [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1 (https://forum.x-cart.com/showthread.php?t=39539)

intel352 05-24-2008 02:12 PM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Hi Auren, I haven't seen any emails about this issue, I'll dig through my email to find what's going on. I'll be in touch!

Cheers

Auren_B 05-27-2008 09:55 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
He said he has sent 6 or 7 emails to you over the last few weeks, including May 24th, and all have gone unanswered.

intel352 05-27-2008 10:28 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Hi Auren, I was unable to search for his emails this weekend, I've been extremely busy with multiple projects.

Anywho, I just found his emails, I've reponded, I'll wait to hear back.

paul@dimoda.com.au 05-28-2008 11:31 PM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Quote:

Originally Posted by Lingerieblowout
Any idea how to get XML Sitemap Generator to generate all the files site map XML etc .... there is no html files to be found in my XC ... http://www.xml-sitemaps.com/


Lingerie Blow Out, did you get this to work? I have just had cdseo pro installed and genberated an xml sitemap ok.

intel352 05-29-2008 03:31 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
LingerieBlowout ended up going with DSEFU before I was able to assist them.

XCSEO, both Basic and Pro, works fine with XML Sitemaps, so the issue was likely a misconfiguration somewhere.

nmhanna 05-31-2008 06:18 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Hi Jon,
first thanks a bunch for a great mod ! I have a question regarding the bot functionnality. You say that XC SEO redirects bots to pages without those extra parameters . Does that mean that product pages that contain the product name in the url along with those variable will not get indexed ?

In that case how do we make sure that the product pages and other pages are indexed by the bots ?

Thank you !

http://waxonwaxoff.ca
Your canadian car care supplier !

Quote:

Originally Posted by intel352
Thanks Ken ;-)

I'm sure you've noticed that as a regular visitor to a website using XC SEO, that the url for a product often looks similar to this: whatever-c-4-p-1-pr-6.html
A url like that is passing the category id, the category page, and the product id. All X-Cart needs to function, is the product id, but the other values are passed as they determine how the breadcrumb will appear at the top of the page.

So XC SEO allows these extra parameters in the url, as it's normal X-Cart functionality. The problem, though, is that to a bot, that page would look like a duplicate content page, same goes for pages that have the -print- parameter (printable pages), and there are other examples I can't think of at the moment.

The "prevent bots" config item ensures that if a bot is detected, it will not see any urls with certain unneeded variables, such as -print-, ?js=n, the -c-5-p-1 bit in a product url, etc etc. Instead, it shows bots only urls that don't have those extra parameters. Additionally, if a bot tries to visit a url that a bot isn't allowed to see, they get 301 redirected to the "clean" url.

If you have other questions, let me know!

Cheers


intel352 05-31-2008 06:38 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
To explain better:

this-is-my-product-pr-54.html
this-is-my-product-pr-54.html?js=Y
this-is-my-product-print-pr-54.html
this-is-my-product-print-pr-54.html?js=Y

Okay, the 4 above URLs, all go to the same page. The 1st url is considered the *primary* url, has the least fluff in the URL. There are uses for all 4 URL versions though, so each url is active in X-Cart. To avoid duplicate content issues, whenever a bot is detected, only the 1st URL is displayed anywhere to the bot. If the bot tries to visit urls 2, 3 or 4, it gets redirected to url 1. Any urls the bot sees on the page that would normally link to 1,2,3,4, will all instead just display url 1.

So the point is to strip out the known extra parameters that are useless.

Some others incorrectly call this cloaking, but it's not. You can read about cloaking here:
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=66355

The reason why this method works, and has worked for 2-3 years now with no ill effects on Google rankings, is because the actual page content is the same for all variations of a link. So the only "change" when Google visits, is reducing the multiple URLs, to a single URL. Google is smart enough to see that every page has the same content, and so it has not penalized any websites running XCSEO, that I've ever seen.

What's actually interesting, is that I've had users report a definite increase in page rank, when leaving another SEO module, to use XCSEO Basic.


Just a note, XCSEO Pro handles it's urls in a different manner, and does not react to search engines in any way. It's a different approach from XCSEO Basic, and I don't want anyone confusing the two.

Cheers

Holub 06-04-2008 06:41 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
I'm sorry but seems like I've found bug in XC SEO mod:

/modules/xc_seo/outputfilter.seo.php, line 408

Code:

        function _insert_href_title($found){
                if( ( strpos( ' title=', $found) === false ) ){
                        $found = substr_replace( $found, ' title="' . str_replace( $this->_name_delim, ' ', $this->_cur_name) . '">', -1);
                }
                return $found;
        }


There must be strpos($found, ' title=') in condition, you are entangled haystack and needle in strpos function. This caused unnecessary second "title" attribute in

Code:

<area shape="poly" coords="424,239,509,239,509,357,424,357,424,239" href="http://www.mtechuk.com/testshop/welding-c-19.html" title="Welding" alt="Welding" title="Welding" />

After we changed haystack and needle in strpos function we got correct output HTML.

cflsystems 06-04-2008 06:55 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Yes this is still not fixed. Replace "strpos" with "eregi"
See this

http://forum.x-cart.com/showthread.php?t=37346

Holub 06-04-2008 07:04 AM

Re: [MODULE] XC SEO v1.4.0 Released for X-Cart 4.0 and 4.1
 
Quote:

Originally Posted by cflsystems
Yes this is still not fixed. Replace "strpos" with "eregi"
See this
http://forum.x-cart.com/showthread.php?t=37346


I don't think that it is good idea because any regular expressions works very slowly than strpos. Therefore more better solution is change strpos( ' title=', $found) to strpos($found, ' title=')

crossposted in http://forum.x-cart.com/showthread.php?p=218938#post218938


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

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