Keyword

%20 instead of "-" in tag listing

  • Nikola Marić
  • Nikola Marić's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #127596 by Nikola Marić
%20 instead of "-" in tag listing was created by Nikola Marić
Hi,

all my tags which have more than one word are displayed with %20 instead of "-" in tag listings.

It looks awful in google results.

for example:
www,mysite,com/tag/article title
becomes
www,mysite,com/tag/article%20title
instead of
www,mysite,com/tag/article-title


How can I correct that?

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #127597 by Lefteris
Replied by Lefteris on topic Re: %20 instead of "-" in tag listing
Hi. You can't have spaces in URLs. K2 converts spaces to the appropriate characters according to the URL specification www.ietf.org/rfc/rfc1738.txt. Then it's up to the browser you are using to convert them back and display them correctly. Most modern browsers do that.

Please Log in or Create an account to join the conversation.

  • Nikola Marić
  • Nikola Marić's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #127598 by Nikola Marić
Replied by Nikola Marić on topic Re: %20 instead of "-" in tag listing
So, if I have a tag "fast cars" for example, I should change it to "fast-cars", and then google will pick up my tag name with the "-" and that is not what I want.

Is there any other way of fixing this?

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #127599 by Lefteris
Replied by Lefteris on topic Re: %20 instead of "-" in tag listing
I didn't say this. You can keep it as "fast cars". But the space in URL for this tag will be replaced with "%20" in order to be valid. And as i already told you, all modern browsers take care about this when they open links like that. Example : demo.getk2.org/show/tag/Black%20and%20White .

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum