Jump to content
DevFuse Forums

SEO


Sacred

Recommended Posts

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!

Link to comment
Share on other sites

  • Management

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" )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...