Advertisement:

Author Topic: Permalinks or no permalinks? Issue with PERMALINKS......... PLEASE HELP  (Read 694 times)

goutomain

  • Newbie
  • *
  • Posts: 13
I have few category with space in between, (Home Entertainment) and my permalink for categories is category/{CATEGORIES} and tried with this as well {CATEGORY_NAME}={CATEGORY_ID}.
But instead i get this category/Home%20Entertainment, hence an error get generated.

Please help.
Also I would like to know that during search it gives the db attributes name like iprice etc. will it be a issue to expose those?

Is there anyone who can help me with my query? Atleast give some hint on which i can work
« Last Edit: April 08, 2017, 03:54:00 pm by goutomain »

goutomain

  • Newbie
  • *
  • Posts: 13
I have found a solution for the permalinks with space in category and subcategory name.

In oc_t_category_description table in slug field I have replaced space with hyphen "-"  in each name of category and subcategory. Doing so keeps the display name as I wanted but internally change the link.

So Home Entertainment became home-entertainment.

Aficionado

  • Guest
Bender theme (default) doesn't have spaces between a two words category name. Automatically inserts "-". So do most themes i use.

So, not sure what you are actually are talking about.

goutomain

  • Newbie
  • *
  • Posts: 13
Hello Aficionado.
I am using osclasswizards theme and have inserted the category and subcategory tree using sql script. Might be because of this osclasswizards couldnot handled the space.
Thanks for the information anyways.

Aficionado

  • Guest
Hello Aficionado.
I am using osclasswizards theme and have inserted the category and subcategory tree using sql script. Might be because of this osclasswizards couldnot handled the space.
Thanks for the information anyways.

I'm using also Osclass Wizards theme and i don't see that problem anywhere. Maybe you use a non-english character set ?

goutomain

  • Newbie
  • *
  • Posts: 13
As i told you that i had used sql script for inserting the values. Hence the issue because slug name was same as the category name.