HomeHome Product Discus... Product Discus...SmithCartSmithCartSEO Url IssueSEO Url Issue
Previous
 
Next
New Post
3/13/2012 5:29 AM
 

Hello

I am using version 4.92 of Smith cart and 6.1.1 of DNN

I have a catalogue off nearly 2000 products, I have temporarily given every category in the system a unique category keyword made up of the word text and the id of the category i.e. text3

According to the url restrictions these should be fine as url keywords.

I am using humanfriendly urls configured in the web.config and this is successfully working for pages i.e. products.aspx or home.aspx

I have set the buynow module in the category menu settings as well as collapse all on load. 

Currently the products have NO SEO urls as i am starting with categories

When I add this text to the category keywords section the urls are rewritten as follows http://sitename/Products/tabid/85/categoryid/1/Text1/Default.aspx this initially looks wrong as according to your demo it should be like http://www12.smith-consulting.com/Hom... i.e. the tabid/85/ and default.aspx. are not removed. I would also envisage the url should look like http://sitename/Products/categoryid/1/Text1.aspx if following the same approach as http://www12.smith-consulting.com/PD/...

I then try and use the  http://sitename/Products/tabid/85/categoryid/1/Text1/Default.aspx and these seem to work for the top level menu items but the category menu module will not expand to show child items.

Can you please supply any help on how i can resolve the issue or let me know if there is any other info you require.

Cheers 

Marcus

 
New Post
3/14/2012 2:07 PM
 

Hi Marcus,

Your urls are in the correct format. The reason your urls are not displaying the same as the www12 demo site is Category URL Keywords are not being used.

The correct mechanism to select Categories and Sub-Categories is by category by passing the category id in the querystring. For example:

http://www21.smith-consulting.com/Sto...

The querystring mechanism was programmed to filter the products however it was not programmed to also select the the Category in the CategoryMenu. If you have budget in your project to sponsor a portion of the programming we can provide you with a fixed quote. Please send an email with a link to the post to sales@smith-consulting.com to be provided with a quote.

Thanks,

 
New Post
3/14/2012 3:15 PM
 
Hi Kevin

Thanks for your prompt reply as always.

You have provided an explanation for the url rewriting however i am still in the dark on why when i use category keywords it disables the user from using the category menu module properly.
For example take the following menu:

Root 1
- Sub 1
- Sub 2
Root 2
- Sub 3
- Sub 4

If i insert category keywords for Root 2, which i click on Root 2 in the category menu it changes the buy now module correctly but does not expand the category menu so i can't see Sub 3 and Sub 4 on page reload and therefore i cannot get to the sub categories.

Any ideas on what might be causing this?

Cheers Marcus
 
New Post
3/15/2012 1:46 PM
 
Hi Marcus,

To clarify, when clicking on Parent Category and the Sub-Categories which belong to the Parent Category are not being expanded. Is this correct?

Thanks,
 
New Post
3/15/2012 3:26 PM
 

 

Hi Kevin

That's correct.  but only for those that have category keywords enabled.

I have a products page which has the category menu in a left column and the buynow module on the right so fairly simple setup.

 

On a secondary note i sent some items through to the contact form what is the best way to report these? 

 

Cheers Marcus

 
New Post
3/17/2012 3:16 PM
 

Hi Marcus,

I have not been able to replicate the issue of when clicking on Parent Category using Category Keywords and the Sub-Categories which belong to the Parent Category not being expanded on our www21 test site. Can you login to our test site http://www21.smith-consulting.com/ and try to replicate the error. This will determine if the issue is with the latest version of the cart or an issue with your specific dnn portal/cart install.

Please send an email to kevin@smith-consulting.com if you need login credentials.

Our Community Forums provides a platform to build a knowledgebase for end users. It's an ultimate resource between our developers and end users. It provides first hand information on current issues, feature requests, bug reporting, and much more.

Thanks,

 
New Post
3/18/2012 4:13 AM
 
Hi Kevin

I have done some digging, basically the error seems to be introduced after upgrading from an earlier version of Smith Cart (not sure which versions cause the issue).

I had a working test site from a while back it was version 4.57. I verified that the menu was working and expanding and then did an upgrade to 4.92 and the error with the categories appeared, i then upgraded again to 4.93 to see if it was fixed in this version and the issue remained.

My best guess at present is a dll not getting overwritten, different database schema ( i notice a products2 table appears) or something else that is left over from an old version causing the issue.

Any thoughts on how to solve besides doing a fresh install on a new dnn and migrating the current site?

Cheers Marcus

 
New Post
3/21/2012 6:45 PM
 
Hi Marcus,

Could you verify if the issue is present on categories and sub-categories entered through the SmithCart UI?

If not, compare the original categories to the newly entered categories in the Smith_Category table for any differences such as NULL values.

Thanks,

 
New Post
3/22/2012 2:36 AM
 

Hi Kevin

Still the same issue on new items,

http://centralsd.c9solutions.com.au/P... will be accessible for a bit see the bottom Test in the category menu on the left.

The Test category is setup like this:

Test - No Category Keywords

    SubTest - Category Keyword enabled

         SubSubTest - Category Keyword enabled

DB Category Table which i can't see anything out of the ordinary.  

 

CategoryID CategoryName SortOrder Share TabModuleId ParentID PortalID CatSEOURL CatDescription ShowCategoryRole
935 Test 0 1 107 0 0 0
936 Subtest 0 1 107 935 0 sub-test 0
937 sub sub 0 1 107 936 0 subsub 0
 
I'm wondering if a user control or dll is not being updated and casuing the issue which i'll look for now
 
Cheers Marcus
 
 
New Post
3/22/2012 4:44 PM
 

Hi Marcus,

Since the issue is still present even when adding categories via the Cart I would recommend a clean installation of the Cart using the following post to backup and restore your data: https://www.smith-consulting.com/Foru...

Thanks,
 

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartSEO Url IssueSEO Url Issue