Sacred Posted July 28, 2009 Report Share Posted July 28, 2009 lets talk about SEO i have an application called contact i want it to show as www.mysite.com/contact/ just like calendar instead of showing as app=contact so after looking into calendar files extension/furlTemplates.php as you said thats what i got $_SEOTEMPLATES = array('app=contact' => array('app' => 'contact', 'allowRedirect' => 1, 'out' => array( '#app=contact$#i', 'contact/' ), 'in' => array( 'regex' => "#/contact/?$#i", 'matches' => array( array( 'app', 'contact' ) ) ) ), ); Not sure if this is enough though! Quote Link to comment Share on other sites More sharing options...
Management Michael Posted July 28, 2009 Management Report Share Posted July 28, 2009 I use this, buildSeoUrl is just a wrapper for both of them. $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=appname", 'public','' ), "false", "app=appname" ) Quote Link to comment Share on other sites More sharing options...
Sacred Posted July 28, 2009 Author Report Share Posted July 28, 2009 where do i add this? i didnt get it Quote Link to comment Share on other sites More sharing options...
Management Michael Posted July 28, 2009 Management Report Share Posted July 28, 2009 where do i add this? i didnt get it In your modules_public file, where you want to show the link. All furl links will need to be build through these functions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.