- This topic has 1 reply, 2 voices, and was last updated 3 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › Issue with Category URLs
I’m not sure if this is a bug or something we’re doing wrong, but it was working before (this site has been up for probably 2 years with EME installed from the beginning with this code), and we’re using the EME placeholders to do it. I had a list of categories in the sidebar of their blog. The client just let me know yesterday that it was not functioning.
The template was set up to pull each line item like so:
<li><a href="#_CATEGORYURL" title="#_CATEGORYFIELD{category_name}">#_CATEGORYFIELD{category_name}</a></li>
What it was outputting is something like this:
<li><a href="https://johnknoxvillage.com//general">General</a></li>
This was leading to a broken link/404. Even our Smart 404 isn’t able to find the pages, and I have tried changing the URL to find the category URL and can’t seem to find the category page. The site is https://johnknoxvillage.com/ (I’ve temporarily removed the widget from their news page since the links were non functional)
We have the plugin installed on a lot of client sites and this is the first one I know of this problem on, but I think it’s the only one we are pulling categories onto in that manner. Categories are turned on, I’ve tried resetting the permalinks… Is there a new setting I’m missing?
Thanks so much for your help!
#_CATEGORYURL returns an url itself, not just a link. So you can’t use it as rightside for a href, but more:
<li>#_CATEGORYURL</li>