If you have characters in the names that aren't appropriate for that portion of a URL, you'll have to include {CATID} in your category rewrite scheme. For example, {CATREWRITEPATH}-{CATID}/{PAGE}.html
for special characters such as + and ., they are handled very well now.
I have this setting on 'Search Engine Optimization Settings'.
{CATREWRITEPATH}-{CATID}/{PAGE} .html
Categories are supposed to be like ...../category-name-X, however it works on single word only. If we have combination words such as 'Development Tools', script will rewrite the URL like ...../142-142 where 142 is the categories' ID.
It seems that the new release fixed the special characters issue but generating new bugs on mod-write.
Can we have the new release with the organized URL structure?
something like this, this is definitely good for SE. ..../i-am-category-x ..../i-am-category-x/this-is-subc ategory-x ..../i-am-category-x/this-is-subcategory-x/anothe r-subcategory-x
Comments on Mod Rewrite fails on special characters
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
I have two categories like the followings.
C and C++
ASP.Net
Their URLs and subcategories' URLs are ..../XXX , which XXX are digits.
Other categories are all like ..../category-name
What can I do to make these two categories along with their subcategoris appear like the usual format, .../category-name ?
Thanks!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If you have characters in the names that aren't appropriate for that portion of a URL, you'll have to include {CATID} in your category rewrite scheme. For example, {CATREWRITEPATH}-{CATID}/{PAGE}.html
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
Thanks for the help.
Most URLs of subcategories are very SE-friendly now.
But two categories I mentioned on the first post, are still not like /category-name-x .
C and C++ -> .../c-and-c2b2b-5
- I belive the scirpt rewrite ++ to 2b2b.
ASP.Net -> .../4-4
- the script still can't handle/rewrite the dot (.) , and all subcategories' URLs are appeared like the main category /X-X.
Is there a way we can improve the rewrite for above problem?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Fixed for next release.
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
That will be great!
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
Well, I have upgraded to the 5.0.27.
for special characters such as + and ., they are handled very well now.
I have this setting on 'Search Engine Optimization Settings'.
{CATREWRITEPATH}-{CATID}/{PAGE} .html
Categories are supposed to be like ...../category-name-X, however it works on single word only. If we have combination words such as 'Development Tools', script will rewrite the URL like ...../142-142 where 142 is the categories' ID.
It seems that the new release fixed the special characters issue but generating new bugs on mod-write.
this is part of my htaccess.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Confirmed the problem, will be fixed shortly.
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
Sorry to bother, but i found one more bug even though the above problems are solved in the latest version.
I have this setting on 'Search Engine Optimization Settings'.
{CATREWRITEPATH}-{CATID}/{PAGE} .html
Let say there is a main category.
...../i-am-category-3
and its subcategory URL is supposed to be ..../i-am-category-3/this-is-subcategory-201
In 5.0.28, its showing ..../i-am-category/this-is-subcategory-201, the script eliminates the {CATID} of its upper category.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That's working the way I intended it. Why include more uninformative numbers than necessary?
If you really want it I guess I could include an alternate {CATREWRITEPATHID} which would include the ids.
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
Yes, I do want the subcategory URLs to be the extended URLs of their main categories. Its good for SE to pass pagerank to subpages.
Actually, what I mostly prefer is to removed the {CATID} from URL no matter category comes with special characters or not.
Thanks!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
How can a URL without an id ever identify a category when it's missing characters? I don't believe that's possible.
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
I don't know how to do.
Can we have the new release with the organized URL structure?
something like this, this is definitely good for SE.
..../i-am-category-x
..../i-am-category-x/this-is-subc ategory-x
..../i-am-category-x/this-is-subcategory-x/anothe r-subcategory-x
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
A {CATREWRITEPATHIDS} to do that can be made available for the 5.1 series (or sooner as a custom project).