Recent Topics

Tag spaces showing in url as + redirecting to 404 page?

Started by on Oct 12, 2016 – Contents updated: Oct 14, 2016

Oct 12, 2016 23:25    

I've fiddled around with tags in my blog for hours now, read and searched for forum posts but cannot find any info regarding tags.

When I add a tag that has a space in it, such as "a b" reading the post leaves a tag url as www.website/tags/a+b
This sends me to a page 404 error.

If I manually change the tag to "a-b" then it works fine when viewed in the browser, it works but it looks odd listed under the post.
Also, unless I manually change all my tags with spaces, then none with spaces will work which would take an age.

It used to work just fine in older versions, but in b2evo version 6.6.6 stable, it's not

I've tried disabling flash tag plug in, tag cloud, etc, to no avail. Messed about with tag settings but got nowhere.
http://www.frugalways.co.uk
Thanks in advance for any help anyone can send my way.

Oct 13, 2016 11:07

We have tested this and it seems to work correctly. See screenshot below.

Oct 13, 2016 18:31

Thanks for taking the time test it for me.

I'm at a loss then as to why I'm still being directed to a 404 page, unless each tag with a space has a "-" manually added at the tag stage.
If I just enter a space in the tag, it automatically changes to a "+" in the url, then I get the 404 redirect.

Oct 13, 2016 22:17

Show me a screenshot of your 404 page.

And another screenshot of trying to access a tag that has no space BUT does not exist.

Oct 13, 2016 23:10

Example 1
I've hovered over the tag

Example 2 404 page I'm taken to

Thanks

Oct 14, 2016 00:24

Ok, and now look at a page for a tag that really does not exist: http://www.frugalways.co.uk/life.php/tag/ddsq

Compared to anything that includes a + (no matter if it exists or not, eg: http://www.frugalways.co.uk/dd+sq )

See the difference?

The 404 you get is NOT generated by b2evolution. It is generated by your webhost. They apparently block anything that contains a + from passing through to b2evolution.

Please ask their tech support about this.

+ is the normal/standard encoding for spaces in an URL.

Who is your webhost?

Oct 14, 2016 20:18

Brilliant, thank you for your time with this, I shall get on to them.
Again, really appreciate your efforts,
Dean...


Form is loading...

multiple blogs – This forum is powered by b2evolution CMS, a complete engine for your website.