Phoca SEF



* Storing links from sites which end with 404 Error
* Redirecting selected site which ends with 404 Error to new site
* Storing refering sites.
Using this component should be useful e.g. if you did some alternation on your site and your links will be changed (upgrade of Joomla! version, enabled SEF, enabled mod_rewrite, changed structure of content, ...) or if you need to find wrong links on your site.
Get more info:
http://www.phoca.cz/phocasef
http://www.phoca.cz/documentation/category/42-phoca-sef
A bit of PHP copy and pasting into a file is a bit of trouble to go through but it is not that bad at all. It would be better to give a code sample so others can understand how libraries/joomla/error/error.php should look like after you inserted the required code:
function & raiseError($code, $msg, $info = null)
{
//PHOCAEDIT
if ($code == '404') {
include_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocasef'.DS.'helpers'.DS.'phocasef.php' );
PhocaSefHelper::createUrlEntry();
}
$reference = & JError::raise(E_ERROR, $code, $msg, $info, true);
return $reference;
}
Search friendly urls where already enabled.
Hit a couple of those bad Google crawl errors to check if it works. Bang! Found it. I added a simple rule to a landing page, tested it again, it was fixed. Also fixed immediately my favicon.ico because the directory was modified with htaccess. The site improved much already in just several minutes of work.
A feature I would really like to see added that hurts all of us when you switch to a new plugin for your calender or pictures:
Right now every single url (all those long ones are the bad guys) of a page that has been moved must be done separately. If we can add the source like /pictures?.... rather into /pictures* then it would fix all references to the incorrect page at once. Single action all issues resolved, that would be a very nice addition. Meanwhile I remain very happy with the current functionality.
1) poor English translation.
2) Core hack required.
Okay, now the good:
1) I didn't have to write this stuff myself!!
This plugin does exactly as described:
1) It logs all requested urls that are not valid (404 errors).
2) Allows you to map old/missing URLs to new URLs (one to one mapping, no wild cards).
I restructured my site to use K2 for all content thus changing all URLs of my content. Internally, this is no big deal since I could just fix any bad links. However, what about all the external pages that link to my site? All those links would be broken if it were not for Phoca SEF! It's not 100% automatic, but it's light years easier than the alternatives I thought of.
Hi, thank you for your review
1) Will be great to get one. I am not English native speaker, so the correct English will be appreciated
2) See the Phoca.cz forum, why I selected this method (core hacking) instead of e.g. system plugin, etc.
Thank you, Jan
Hi, thank you for your review, it is very easy to create a plugin, but the core hack was chosen because of not "weighting" the system with system plugin. See more information about this in Phoca Forum (http://www.phoca.cz/forum)
Jan
Note: You have to edit Joomla core file to get this work.
Thanks
After installing (it needs a Joomla core file editing, not very good but it's simple) it monitors all 404 errors received on the site, and for them you can set the auto-redirect url. So users don't see anything and you don't lose visit!
It works with Joomla 1.5 native SEF urls, that is very good for me.
Also need to remember that if redirecting old site links you only need the part of the link after the domain name. I guess this should be obvious but it caught me for about 30sec!!
Great work Phoca.
It's also handy if you are going to change the website a little (like depublish one article and have one other article instead)
Also nice to see the referring sites. So you know if you have to update some really old article or something like that.
And of course is the support superb (as with all other Phoca extensions)
Thanks for this valuable tool.







