Joined: 21 Apr 2009
Posts: 1482
Location: San Francisco CA
Posted: 06/05/11 10:21
Just sharing this custom mod with you all. I'm gonna warn you YMMV on this because obviously this is custom to my site and PJ2 template but with this info you should be able to make it work. I'm sure there are different ways to do this so feel free to comment, maybe we can improve this method.
STEP 1. Add this to your .htaccess near the bottom
Your row template may vary depending on what Skin you're using. Also the old_events=true is so that the link is still viewable after the event is over.
STEP 2. Add this code to the TOP of the tpl that links to the main event.tpl. In the case of PJ2, this is on the row templates (event_row, event_gallery_row etc). regex_replace is part of smarty
I want to stop right here and warn you that I already have MOST of my other skin related content pages (blogs, events, videos, articles) rewriting the URL so if you have commenting enabled on those content pages be weary of this. Again, I'm thinking maybe there's a better approach to this but this is what works for me.
STEP 5. OPTIONAL - When a user saves/edits an event, I have the re-written Event URL posted at the top of the form so that the user can easily click to the new content page to see results. To do this you edit the calendar.php
Find this line
Joined: 21 Apr 2009
Posts: 1482
Location: San Francisco CA
Posted: 06/25/11 12:56
I can comment on this - If the event is added with enough time for google to index the page (for instance, 1 month early), I _HAVE_ had my site come up in google page 1 when searching specifically for that event.
I would think that the title has something to do with that. Obviously, my site is not solely dedicated to that 1 event, but the point is, the hit/connection was made.
Now imagine that for blog titles, video titles, etc...