derred Posted March 25, 2010 at 11:11 AM Share Posted March 25, 2010 at 11:11 AM I noticed that sh404sef threads is sticky'ed and some tutorials written on knowledgebase, so I can't help imagining there must be substantial amount of us (JReviews'ers) are using sh404sef to handle our SEF URLs. I discovered a quick trick to handle our sites' sitemap using Xmap. Requirements (this trick requires all the extensions below) 1) Xmap (you must know how to basically use Xmap. Get to know how to use it first if you have no idea). 2) sh404sef (basic knowledge using sh404sef is required). 3) xmap plugin for sh404sef (optional but very recommended; it's implied that if you are using sh404sef, you want prettier URLS so get it!) First of all, this step is not required unless you want "yoursite.com/sitemap/" when using sh404sef and Xmap. Donwload that xmap plugin onto your desktop. Unzipped and upload it to ~public_html/component/com_sh404sef/sef_ext/ Now since you are using sh404sef, i imagine you must already made the "hidden" menu to make JReviews detail page display correctly on SEF (regardless native or sh404sef turned on, this hidden menu is required) enabled. Click for full size - Uploaded with plasq's Skitch Depending on how you setup your JReviews (multiple categories but one section? multiple cats and sections? 1 category and 1 section? and more), you must have all your "hidden" menus made for it to appear in sitemap. Now that everything is made and ready. If you're decent Joomla devs like myself, I bet you already get anything up to this part covered, aren't you? It's good that we are on the same page now. The main issue lies in between Xmap's content plugin and sh404sef is the "hidden" menu category/categories/section/sections that appears in sitemap (together with the listings which is published and has NO issue at all). Click for full size - Uploaded with plasq's Skitch The detail pages or listings are linked correctly as we want it, but the category/section view is NOT what we want to publish (instead we want to publish either JReviews' blogview/tableview/thumbview). Before doing this in sh404sef backend, let's make up a situation for us to understanding this better. say your correct JReviews intended like is: yoursite.com/category by default (if you followed my tutorial from start), your sitemap should published something like: yoursite.com/category/ that extra slash really kills me from the inside (and its not good especially when Google sees it in XML form). Now go to sh404sef backend -> sh404sef URL manager (sef url edits) -> Search for your ~/category/ (the one with 'slash /' or another indicator would be "index.php?option=com_content...." Click for full size - Uploaded with plasq's Skitch Go to intended or wanted link; from this example, the one WITHOUT 'slash' or "index.php?option=com_jreviews..." Click for full size - Uploaded with plasq's Skitch Include the non-sef link and "category/" into the alias list. Voila! Now your sitemap will behave accordingly and not just that, now at least even if the links are indexed by Google, it will be redirected to the correct pages. Enjoy and hopefully those helps. Link to comment
derred Posted March 25, 2010 at 11:13 AM Author Share Posted March 25, 2010 at 11:13 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
jmdundon Posted March 29, 2010 at 06:38 PM Share Posted March 29, 2010 at 06:38 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
derred Posted March 30, 2010 at 12:46 AM Author Share Posted March 30, 2010 at 12:46 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
jmdundon Posted March 30, 2010 at 01:08 AM Share Posted March 30, 2010 at 01:08 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
derred Posted March 30, 2010 at 01:18 AM Author Share Posted March 30, 2010 at 01:18 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Kristian Posted March 30, 2010 at 08:41 AM Share Posted March 30, 2010 at 08:41 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
derred Posted March 30, 2010 at 08:47 AM Author Share Posted March 30, 2010 at 08:47 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
jmdundon Posted March 30, 2010 at 10:58 PM Share Posted March 30, 2010 at 10:58 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
derred Posted March 31, 2010 at 01:46 PM Author Share Posted March 31, 2010 at 01:46 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
jmdundon Posted March 31, 2010 at 03:41 PM Share Posted March 31, 2010 at 03:41 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
derred Posted March 31, 2010 at 04:20 PM Author Share Posted March 31, 2010 at 04:20 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
derred Posted March 31, 2010 at 04:43 PM Author Share Posted March 31, 2010 at 04:43 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Marshall Johnson Posted February 16, 2011 at 09:12 PM Share Posted February 16, 2011 at 09:12 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
David Thang Posted March 23, 2012 at 02:11 AM Share Posted March 23, 2012 at 02:11 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts