Перейти к публикации

Tag without blank characters and not case sensitive


Рекомендованные сообщения

Anyone knows how to auto convert tag without blank characters and not case sensitive

Example: "UPPERCASE tag" = "uppercase tag" ---> "uppercase-tag" ->  http://site.com/tags/uppercase-tag/   While posting news with "UPPERCASE tag" and "uppercase tag", when browse  http://site.com/tags/uppercase-tag / will show all news with both tags

Thanks

Изменено пользователем お茶Ocha
Ссылка на сообщение
Поделиться на других сайтах

Yes, these are different tags, because search engines consider these to be different addresses. Wiithout сase-insensitive, these are duplicates of pages.

  • Нравится 1
Ссылка на сообщение
Поделиться на других сайтах
3 часа назад, celsoft сказал:

Yes, these are different tags, because search engines consider these to be different addresses. Wiithout сase-insensitive, these are duplicates of pages.

1. For сase-insensitive

Because it is better for internal site users

Example: I post 4 news, 2 news with tag "Mother" and 2 with "mother" but browse http://site.com/tags/mother or http://site.com/tags/Mother it only shows 2 news instead of 4 news

For thousands of tags, we don't sure typing wrong сase-insensitive.

2. Space in link:

Some time I send link with space it maynot correct

Example:

"http://site.com/tags/mother and father" ---->wrong when click on. It show not any news because "mother" doesn't exist

But http://site.com/tags/mother-and-father is always correct

Please help me how to hack this. I really need this.

And it is good if you add this option in Admin Panel for next version

 

 

 

look like wordpress, tag text shows with space but url replace space with -

"Mother and Father" --> "mother-and-father"

Same problem with username: "http://site.com/user/My name" instead of http://site.com/user/my-name

Изменено пользователем お茶Ocha
Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас
×
×
  • Создать...