Tagged: blog categories, breadcrumbs
-
AuthorPosts
-
February 28, 2017 at 11:04 pm #753310
This may be confusing but I’m going to try to explain what I would like done.
I have 2 blog categories; Events and Job Postings Each category I would like on it’s own page which I have created using the “Blog” widget and selecting the correct category for each page. All good so far…so when I test each page, and then select a post to read, that post opens as expected. I then click on the breadcrumb link and it takes me to a default blog page and not the page I created using the “Blog” widget.
So is there a way to have the breadcrumb link return the user back to the page I created and not a default blog page?
Thanks
March 1, 2017 at 3:03 am #753391Just out of curiosity, why not use the category archive pages? Do you have other content on the pages you created?
Have you tried setting up a 301 redirect for the category archive URLs to your custom pages? I can’t promise it will work but you could use a plugin like this: https://wordpress.org/plugins/simple-301-redirects/ Or you could do it in your htaccess file in the root of your website directory.
March 1, 2017 at 7:16 pm #753890No sure I understand your solution, I’m not a code expert by any means. Can you better explain where I go and what I’m looking for…screen caps would help greatly.
I don’t have other content on the 2 pages I created, one is just job posts and the other is events.
How would I setup a 301 redirect for a category?
If I touch the htaccess file I’m sure I’ll screw up the site LOL!
March 1, 2017 at 8:25 pm #753935I just tested this using Simple 301 Redirects and it worked fine. You should test it yourself but here’s what I did:
1) Load and activate the plugin.
2) Go to Settings > 301 Redirects
3) Enter the URL of your category such as “/category/uncategorized” in the Request column. The actual URL will vary depending on how you have your permalinks set. You can go to Posts > Categories and get the actual URL of the category by mousing over the category and looking at the View link.
4) Enter the page you created for the blog posts in the Destination column. For example “/my-cool-page” or “http://www.domain.com/my-cool-page”.
5) Click the Save Changes button.This is kind of a brute force way to accomplish this but it seemed to work. The main downside is that you’d have to go through this process for any future pages you create or any future categories. Plus the breadcrumb will show the URL of the category if you mouse over it rather than the URL of the parent page.
Let me know what you think.
March 1, 2017 at 8:30 pm #753937One more question: If you’re just displaying blog posts and no other content, why create a page dedicated to displaying them instead of using the actual category archive pages? That seems redundant to me.
March 7, 2017 at 8:31 am #756831Hey!
Thank you for using Enfold.
I then click on the breadcrumb link and it takes me to a default blog page and not the page I created using the “Blog” widget.
The breadcrumb will take you to the actual archive pages because the single post has no connection with your custom blog page. It is how the breadcrumb trail function or script is laid out. You can follow @kevinmcgillivray’s suggestion.
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.