Download the PHP package wazum/seo-canonical-guard without Composer

On this page you can find all versions of the php package wazum/seo-canonical-guard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package seo-canonical-guard

SEO canonical guard

What does it do?

The TYPO3 core seo extension adds every given parameter from the request to the generated canonical URL.

This extension helps to prevent unwanted parameters in the canonical URL.

Extension plugin namespaces

By default parameters within the namespaces from active extensions (e.g. tx_news_pi1) using Extbase are allowed. This still allows parameters not used by these extensions like tx_news_pi1[wtf]=seo. If you need to include third-party parameters or parameters for extensions based on \TYPO3\CMS\Frontend\Plugin\AbstractPlugin (aka pi based) or need to be very strict, disable the setting and/or use the explicit whitelist.

Explicit whitelist

In addition to or as replacement for the allowed namespaces from active extension Extbase plugins (see above), you can set a whitelist if you need to allow additional parameters or want to specify exactly which parameters are allowed. Go to Admin Tools > Settings > Extension Configuration and select _seo_canonicalguard and set the allowed parameters or parameter namespaces as follows:

parameter1, parameter2, namespace_xy\[(.*?)\], namespace_yz\[(explicit1|explicit2)\]

You can add a list of single parameters or use regular expressions (you can omit the /…/ around, but you have to escape special characters).

Requirements

The extension depends on the TYPO3 core seo extension.

Installation

Require the latest package:

composer require wazum/seo-canonical-guard

Inspiration

The extension is inspired by https://github.com/sourcebroker/urlguard which definitely should be installed too if you use the addQueryString when creating links with TypoScript!

Say thanks! and support me

You like this extension? Get something for me (surprise! surprise!) from my wishlist on Amazon or help me pay the next pizza or Pho soup (mjam). Thanks a lot!


All versions of seo-canonical-guard with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
typo3/cms-seo Version ^9.5 || ^10.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wazum/seo-canonical-guard contains the following files

Loading the files please wait ...