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

CDSEO Pro 2.2.0 not placing friendly urls categories on llist

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 10-05-2018, 07:18 AM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default CDSEO Pro 2.2.0 not placing friendly urls categories on llist

Ive just noticed that on the shop main page - the category url's have gone back to https://www.mydomain.com/shop/home.php?cat=1 instead of https://www.mydomain.com/friendlyurl

However the static pages and product pages are displaying friendly url's, for some reason the categories arent - any ideas ? of where to look
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote
  #2  
Old 10-05-2018, 07:58 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

We've not experienced this and have been using CDSEO Pro and Jon's previous versions since 2007.

Look in CDSEO Pro General Settings and make sure under Replacement Toggles that Category Replace URLs? is set to yes.

Also what were the last few things you've made changes to. Most of the time I find something going wrong it's be cause I made a change and did something wrong.
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #3  
Old 10-05-2018, 08:35 AM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

Just checked Toggle settings- all set to 'Yes'

Cant remember the last time I changed anything myself, would there be anything in .htaccess to look at ?

ps I also use Dynamic Website Compressor - it's great isnt it.
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote
  #4  
Old 10-06-2018, 05:27 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

Yes it is!

Maybe try this.

Go to Tools-->Maintenance and do

1. Clear templates/X-Cart cache
2. Rebuild category indexes

Hope that helps.

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #5  
Old 10-06-2018, 06:31 AM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

Just tried that - but no dice :- still says :-
https://www.mydomain.com/shop/home.php?cat=54
but at least when I follow te link it does go to https://www.mydomain.com/shop/friendlyurl/

The weird thing is that static pages are fine as are product pages - they have friendly urls - it's just the categories that dont

my week goes from bad to worse, last week my partner crashed the car (couldnt be repaired), on Monday my partner broke her arm, yesterday I get this xcart / cdseo issue and this morning I get a parking ticket - Ive had better weeks .....
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote
  #6  
Old 10-06-2018, 07:27 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

OUCH!! So sorry...

Do you have any rewrites in your .htaccess file affecting categories?

If you want you can PM me the URL of your site and I'll see if my limited abilities might see something.

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #7  
Old 10-06-2018, 01:09 PM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

Thank you so much - it works - now lets see how that affects the serps

# Uncomment the two lines below to force trailing slashes on folders
RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1/ [R=301,L]
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote
  #8  
Old 10-06-2018, 01:44 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,964
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

Quote:
Originally Posted by voodoo1967
Thank you so much - it works - now lets see how that affects the serps

# Uncomment the two lines below to force trailing slashes on folders
RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1/ [R=301,L]

Yay! Glad the change was able to help!
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #9  
Old 10-08-2018, 01:34 AM
 
voodoo1967 voodoo1967 is offline
 

X-Adept
  
Join Date: Sep 2009
Posts: 431
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

Just to update - I re checked and this is very strange, Clear the cache, rebuild category index in xcart, then refresh the page - and the url friendly Category links are there domain.com/shop/blue-widgets/ , BUT - refresh the screen the screen and the links revert back to eg - www.domain.com/shop/home.php?cat=27

Ive no idea what is going on :- .htaccess in shop directory :- (this only affects directories - it doesnt affect static pages or product urls)


DirectoryIndex home.php index.php index.html index.htm

RewriteEngine on
RewriteBase /shop/

RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1/ [R=301,L]


# ------------------------------------
# XC Security
# ------------------------------------

# block all files with uppercase names (i.e. VERSION)
RedirectMatch gone ^/[A-Z].+$

# block all smarty templates (no reason to have these exposed)
RedirectMatch gone ^/.*\.tpl$

# block all .php and .pl files in the root directory except for index.php
RedirectMatch gone ^/[^/]*([^index])\.(php|pl)$

# block the entire log directory
ReDirect gone /log

# block all .log (log files), .sql (sql dump/export) and .conf (config files) files
RedirectMatch gone ^.*\.(sql|log|conf)$

# block access to the 'Smarty-*' directory
RedirectMatch gone ^.*Smarty.*$

# block access to /upgrade
Redirect gone /upgrade

# block access to /skin1_original
Redirect gone /skin1_original

# block access to the /sql directory
Redirect gone /sql

# block access to the /shipping directory
Redirect gone /shipping

# block access to the pgp directories
Redirect gone /.pgp
Redirect gone /.pgp.def

# ------------------------------------
# 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 ^(.+)$ /shop/cdseopro.php

# ------------------------------------
# Caching
# ------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access-Indexes plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
</IfModule>
__________________
x-cart Gold Plus 4.7.12
CDSEO Pro latest ver
ReDux template xcartmods.co.uk - it's great
php 7.x
Reply With Quote
  #10  
Old 10-08-2018, 11:02 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,060
 

Default Re: CDSEO Pro 2.2.0 not placing friendly urls categories on llist

What recently has changed regarding your site? Php upgrade, server upgrade, something new installed, etc?

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 01:02 PM.

   

 
X-Cart forums © 2001-2020