Spaces in URL
- BillyS
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
17 years 3 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.
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.
- BillyS
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
17 years 3 months ago #1894
by BillyS
Does anyone have a suggestion?
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
17 years 3 months ago #1895
by Saka
Emir Sakic
www.sakic.net
When I try to access such link I get 404:
joomla.sakic.net/the-news/%20/
joomla.sakic.net/the-news/%20/
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- BillyS
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
17 years 3 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
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.
- Saka
-
- Offline
- Administrator
-
17 years 3 months ago #1899
by Saka
Emir Sakic
www.sakic.net
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.
- BillyS
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
17 years 3 months ago #1938
by BillyS
Looks like you corrected this in version 5.5.5. Great supprt. Thanks again.
Bill
Bill
Please Log in or Create an account to join the conversation.