SEF urls and Blog Category
Running 3.29,
If I use SEF Urls, I get not found error when trying to go to the blog category pages.
ie: http://www.domain.com/blog/category/Category+5,
But with standard urls, I have no problem.
ie: http://www.domain.com/index.php?action=blog_index&cat_id=5
I notice the SEF url for the blog category page has a + between category and 5 and a comma at the end?
This is unfinished site so the categories are literally "category 1" "category 2" and blog posts are lorem ipsum.
The long tail SEO goodness of Open Realty for the listing addresses CANNOT be beat so I really want to use SEF urls. But I also want to use categories for blog readers.
When using SEF urls, I can get to http://www.domain.com/index.php?action=blog_index&cat_id=5 with no errors.
Is this a bug or do I simply have something set wrong in the admin?

Did you happen to have the "Space Character" in SEO set to + now or at at some point previously?
If so OR would have saved the categories' SEO name using a + to replace any spaces in your name such as Category+5.
You can view/edit your blog categories via the Configure->Category Setup tab in the Blog Publisher. If the SEO Name for your "Category 5" is showing as category+5 you should be able to correct it there. SEO names cannot contain spaces however so matching what you have set for the Space Character on the SEO tab is best.
I don't otherwise have any commas in any of my category links when using the HTML5 example template and am not sure what would cause that unless a comma was perhaps hard-coded in your template someplace or an add-on or something were injecting it, either is a wild guess.

I had not set up categories before using + space character. If I replace the space between category and 5 with a hyphen in blog category setup, it works OK. Still has the comma but the category archive works so I am happy.
I think it is coming from my template as I don't have any addons running.

You can quickly tell if it is your template adding the comma by temporarily switching to the HTML5 example template.
Leave Comment

Comments (3)