X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors (https://forum.x-cart.com/showthread.php?t=39924)

Vacman 05-29-2015 01:51 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
OK - Now I have a problem though.

This Missing URL - When I go and look at it I see that it doesn't have a CDSEO URL associated with it because apparently there is another item in the database that already has that URL. So I look at it on the XCart side and the "duplicate" and find nothing that shows that they both have the same URL.

How do I fix this?

And on my above suggestion, my idea is on that landing page, each box would take you to a summary of problem products/URLs.

Jon 05-29-2015 01:53 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
It could be a conflict with a category, static page, or manufacturer.

You can run this query:

SELECT * FROM wcm_dseo WHERE cdseoUrl='X';

Replace X with the url without any slashes and without .htm or .html

Vacman 05-29-2015 03:26 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
Ok - went into the wcm_cdseo table (phpadmin)

Tried searching in wcm_cdseo table under a number of fields and got nowhere.
When I go to the public side of the site and modify the product id:

http://www.xxxx.com/product.php?productid=18834

with

http://www.xxxx.com/product.php?productid=18615

it does take me to a different page that has a different item and description, but within CDSEO Admin it won't separate those two into different URLS.

The item that ends in 18834 is not SEO friendly, the other redirects to the SEO friendly URL.

Should I delete those two entries from the wcm_cdseo datebase manually and re-autopopulate?

Jon 05-29-2015 03:30 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
I would just modify the productid without the CDSEO URL manually in the x-cart admin section and specify a different URL for it.

Vacman 05-30-2015 11:35 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
They do have different Product Id's and different URLs (from inside X-Cart). This is why I am stuck... ;)

designguru 06-03-2015 08:19 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
After CDSEO installation the social share button counter numbers on the product pages are gone because of different urls which of course is not good but it looks like it can't be reverted as the urls are saved by the relevant social media company.
However, there have been items shared since the installation of the module but the shares do not get counted anymore.

For all users that have the same problem. SmackDigital sent me the solution right away! Simply change the urls in the social sharing template to:
http://{$smarty.server.HTTP_HOST|escape}{$smarty.server.R EQUEST_URI|escape}
Very fast and good service! Thanks again.

Vacman 06-08-2015 07:24 AM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
I know that .htaccess files and their associated content has been discussed extensively here and elsewhere, but I would love to see a good example of one with the focus on CDSEO - Jon, can you post a sample for us all?

Jon 06-08-2015 12:15 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
Quote:

Originally Posted by Vacman
They do have different Product Id's and different URLs (from inside X-Cart). This is why I am stuck... ;)


The URL in X-Cart is irrelevant for CDSEO. You want to make sure the URLs are different via the CDSEO Admin Panel. Just manually specify what link you want a product to have if it doesn't autopopulate.

Vacman 06-08-2015 12:23 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
OK - I leave it alone then. I only brought it up because CDSEO made note of it and in my Google Product Feed, I received a warning about it. Ironically when I checked it just now (while sending you that email 20 minutes ago), I noticed that the warning was gone from Google.

Now they are showing that there are about 175 items that are missing the "Condition" flag. When I checked the feed, they all have the flag correct - so I can only assume that they are having issues right now.

The reason I have been working so hard lately on all of this is that my site traffic has suddenly dropped almost 90% over the last month and I am attempting to figure out what is happening and why we've been penalized.

Jon 06-08-2015 12:36 PM

Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors
 
Quote:

Originally Posted by Vacman
I know that .htaccess files and their associated content has been discussed extensively here and elsewhere, but I would love to see a good example of one with the focus on CDSEO - Jon, can you post a sample for us all?


.htaccess files should differ depending on the site but here's an example template to start from:

Code:

Options -Indexes
Options -Multiviews

# This directory index is recommended to replace the
# x-cart default within this .htaccess file
DirectoryIndex home.php index.html index.php

# Enable mod rewrite engine
RewriteEngine On

# Some servers require the Rewritebase directive to be enabled
# Remove # at the beginning of this line to enable:
RewriteBase /

# Force www.
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]
# / WCM - Force www.

# Force HTTPS
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

# Force trailing slashes on folders
RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]

# Redirect access to pages.php when no query string specified
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^pages.php$ https://%{HTTP_HOST}/ [R=301,L]

# .htpasswd protection
ErrorDocument 401 "Unauthorized"

# Default 500 errors
ErrorDocument 500 "Internal Server Error"

# Don't allow access to printable pages
RewriteCond %{QUERY_STRING} printable=
RewriteRule ^(.*)$ - [F]

# Block access to sensitive files types
RedirectMatch permanent ^.*.(ini|tpl|sql|log|conf|bak)$ https://%{HTTP_HOST}/error_message.php

# Block access to sensitive files
RedirectMatch permanent ^.*/.pgp/.*$ https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/sql/.*$ https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/schemes/.*$ https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/upgrade/.*$ https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/COPYRIGHT https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/INSTALL.*$ https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/NEW.*$ https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/README https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/UPGRADE.*$ https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/VERSION https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/include/version.php https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/config.php https://%{HTTP_HOST}/error_message.php
RedirectMatch permanent ^.*/top.inc.php https://%{HTTP_HOST}/error_message.php

# Uncomment this line if installing
RedirectMatch permanent ^.*/install.php$ https://%{HTTP_HOST}/error_message.php

# Add any custom Redirects here

# CDSEO
RewriteCond %{REQUEST_URI} !^/(payment|admin|provider|partner)/
RewriteCond %{REQUEST_FILENAME} !\.(gif|jpe?g|png|js|css|swf|php|ico)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ cdseopro.php

# Caching
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>



All times are GMT -8. The time now is 10:31 AM.

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