Spaces in URL

16 years 8 months ago #1866 by BillyS
I recently noticed that the Ask spider was looking for pages with spaces in the URL, for example:

www.mysite.tld/category/the-page-name/%20

Which was being redirected (301) to:

www.mysite.tld/category/the-page-name/%20/

With a 200 found.

Of course the page returned is the same as this one:

www.mysite.tld/category/the-page-name/

Is there any way that SEF Advance can prevent spaces in the URL?  I'd prefer to clean out the space, but I'd rather return a 404 than a 200 if the page doesn't really exist.

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

16 years 8 months ago #1894 by BillyS
Does anyone have a suggestion?

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

16 years 8 months ago #1895 by Saka
When I try to access such link I get 404:
joomla.sakic.net/the-news/%20/

Emir Sakic
www.sakic.net

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

16 years 8 months ago #1898 by BillyS
I noticed that you get a 404 only at the root, section, or category level.  If you go to a page of content like:

joomla.sakic.net/the-news/latest-news/example-news-item-4/%20/

You do get a 200.  As a matter of fact, you can put anything at the end and get a 200:

joomla.sakic.net/the-news/latest-news/ex...item-4/weradklnacoin

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

16 years 8 months ago #1899 by Saka
OK, will see about correcting it for the next revision.

Emir Sakic
www.sakic.net

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

16 years 8 months ago #1938 by BillyS
Looks like you corrected this in version 5.5.5.  Great supprt.  Thanks again.

Bill

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

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch