- Posts: 2
COMMUNITY FORUM
%20 instead of "-" in tag listing
- Nikola Marić
- Topic Author
- Offline
- New Member
Less
More
10 years 5 months 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?
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.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 5 months ago #127597
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Nikola Marić
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
10 years 5 months 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?
Is there any other way of fixing this?
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 5 months ago #127599
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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 .
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.