Home › Forums › Calendar Products › Events Calendar PRO › catogory pages – page not found
- This topic has 13 replies, 4 voices, and was last updated 12 years, 6 months ago by
Barry.
-
AuthorPosts
-
September 25, 2013 at 7:19 am #67654
aurelio
ParticipantHi guys
recently I had to change my ‘default events page’ code to the below to fix some issues I was having with my theme and allow widgets to display correctly. the code is below:
[code]
if ( !defined(‘ABSPATH’) ) { die(‘-1’); } ?><!– /.col.grid_12_of_12.tribe-events-template –>
<!– /#primary.site-content.row –>[/code]
my problem now is that when I click on one of the event category buttons (provided by 3rd party plugin) I get a dead link. I have confirmed that the php changes made to the default-template.php in my child them are the cause, because when I revert back to another template it works ok..
can someone help? thanks!
September 25, 2013 at 7:23 am #67657aurelio
Participantargh! I don’t know how to paste the code.. try here instead: http://pastebin.com/hzN2TEn6
September 26, 2013 at 4:52 pm #67917Rob
MemberHey aurelio. We can definitely try to help you out here as best we can; but do you have a link where we can check this out in action? The code you provided is helpful but a link would be the best path to a diagnosis.
Send that over and we’ll do our best to get you a response in as timely a fashion as possible. Thanks for your patience so far!
September 27, 2013 at 12:27 am #67950aurelio
ParticipantThis reply is private.
September 27, 2013 at 9:17 pm #68142aurelio
ParticipantI have also noticed the problem is not limited to categories.. it also happens when I click on a tag name
IE sitname.com/tag/xyz and sitname.com/category/abc both bring me to dead links
September 28, 2013 at 3:06 pm #68186Barry
MemberHi Aurelio,
I can indeed see that and don’t believe it is due to or limited to the buttons generated by The Events Calendar Category Colors (if that’s what you were referring to when you mentioned event category buttons provided by a 3rd party plugin) simply because following a category link, or as you pointed out a tag link, from single event pages results in the same problem.
I have confirmed that the php changes made to the default-template.php in my child them are the cause, because when I revert back to another template it works ok.
I don’t see any glaringly obvious issues with your code; can you clarify though if removing your customizations – so that it is the original Default Events Template – resolves this? Or do you just mean that the problem disappears if you switch to, for example, the Default Page Template?
If so is there some reason you can’t use the Default Page Template? Thanks for clarifying!
September 28, 2013 at 6:50 pm #68206aurelio
Participantive deleted my custom default-template.php from my child theme, and I still get the dead links with the default events template selected
if I switch over to default page template everything is ok
the reason for the modification of the code for the default events template in my child theme was to register widget areas on the page
September 29, 2013 at 5:30 am #68229Barry
MemberRight – and is this specific to your theme? If for instance you switch to a default, unmodified theme such as Twenty Twelve and set up a default events template do you find the same problem occurs?
If it does not that suggests a conflict with your theme; if it does could you continue to deactivate all other plugins (ie, those not made by Modern Tribe) and test again in case there is a conflict with one of your other plugins?
Thanks!
September 29, 2013 at 8:04 am #68233aurelio
ParticipantI have tried switching to twenty twelve and deactivating all plugins but events calander and pro addon but still get the same result :/
September 30, 2013 at 5:34 am #68285Barry
MemberOK, that’s unfortunate but there are two more things we might try here.
1) Flush the permalinks – this can be done simply by visiting the Settings → Permalinks admin screen, you don’t actually have to change anything or hit the save button.
2) Deactivating a plugin doesn’t necessarily remove all it’s effects – caching plugins are a great example of this whereby in many circumstances cached pages can still be served after the plugin has been deactivated. I wonder if it would be possible for you to install a new instance of WordPress in a sub-directory in the same hosting environment and activate only our plugins and see if this problem still occurs. If it does, that rather suggests we may be looking at an environmental issue (and it would then be great if you could summarize what sort of hosting package you are using).
Thanks!
September 30, 2013 at 8:09 am #68327aurelio
Participantok I think I may have made some headway.. after looking at another post on this forum: https://tri.be/support/forums/topic/category-conflict/
I took have the permalink structure: /%category%/%postname%
Upon setting the permalink structure to default I can now see my category pages by viewing an event and clicking the category link. (though the Events Calendar Category Colors legend I use brings me to a dead link…but one problem at a time :P)The problem is I cannot change permalink structure, my site is pretty much based around it and thus I need to keep it /%category%/%postname%
any ideas!?
September 30, 2013 at 12:21 pm #68396Kelly
ParticipantHi, aurelio. Thanks for the further explanation.
It sounds like the issue you’re running into is that TEC uses a separate taxonomy for Categories. (TEC tags are parts of the site-wide taxonomy, but categories are not.) Right now, there is no way to change the URL beyond the fields in TEC Settings.
I’m sorry that I don’t have better news for you. Is there anything else we can help you with?
September 30, 2013 at 10:34 pm #68486aurelio
Participanti dont know how, but after the 3.1 update that was just released the category and tag links work!! i am still using /%category%/%postname% still too
😀October 1, 2013 at 5:58 am #68511Barry
MemberExcellent! Well in that case we’ll go ahead and close this 🙂
If there’s anything else we can help with definitely feel free to create new threads as needed.
-
AuthorPosts
- The topic ‘catogory pages – page not found’ is closed to new replies.
