Urls with white spaces

filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Urls with white spaces

Post by filthlab »

Hi,
I have some categories with 2 and more words. And these urls are not reachable, because of the white spaces, I think: http://filthlab.com/category/Teen%20Anal%20(18+)/
Any idea how to fix this?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Urls with white spaces

Post by admin »

You can use category custom name as category slug
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Urls with white spaces

Post by filthlab »

Thus it will work for English (as a main language), but not for the categories with 2 and more world in any other language.
I'm using <!--CATEGORY_CUSTOM_NAME--> to show the name of category.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Urls with white spaces

Post by admin »

What URL w\o rewrite does not work ?
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Urls with white spaces

Post by filthlab »

http://filthlab.com/category/Teen%20Anal%20(18+)/

I can't use <!--CATEGORY_CUSTOM_NAME--> for the url, because I'm using it for the name of category.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Urls with white spaces

Post by admin »

You can switch and use custom for url and name at pages
or use custom vars at pages
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Urls with white spaces

Post by filthlab »

Just noticed that the problem is not in rewrite, but I'm getting "Content not found page" for the categories with 2 and more words.
Sorry for the misleading.
Any idea how to fix this?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Urls with white spaces

Post by admin »

what url w\o rewrite returns 404 ?
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Urls with white spaces

Post by filthlab »

There is no 404 error.
I'm getting "Content not found page" for the categories with 2 and more words.
Check this: http://filthlab.com/category/Teen%20(18+)/
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Urls with white spaces

Post by admin »

What url w\o rewrite
Don't forget to run script update
Post Reply