ePages 6.10 - DE_EPAGES/Google/Hooks/ShortURL.pm

Package DE_EPAGES::Google::Hooks::ShortURL

create new uri for shorturl sitemap-xml

Functions

OnAfterCreateInitialShortURLs
OnShortUrlRedirect

OnAfterCreateInitialShortURLs

Deletes sitemap.xml if created short urls. (Hook API_AfterCreateInitialShortURLs)

Syntax
OnAfterCreateInitialShortURLs( $hParams );
Input
$hParams (ref.hash.*)

  • Object - shop - object

OnShortUrlRedirect

Sets new uri for short uri 'sitemap-xml'. (Hook ShortUrlRedirect)

Syntax
OnShortUrlRedirect( $hParams );
Input
$hParams (ref.hash.*)
primary key of tax class, key is
  • Object - shop - object
  • URI - short URI - string
  • NewURI - new URI (set this parameter) - string