Novactive Nova eZ Platform Bundles

Novactive eZ SEO Bundle

Install

Installation steps

Use Composer

Add the lib to your composer.json, run composer require novactive/ezseobundle to refresh dependencies.

Then inject the bundle in the bundles.php of your application.

    Novactive\Bundle\eZSEOBundle\NovaeZSEOBundle::class => [ 'all'=> true ],

Add routes

Make sure you add this route to your routing:

# config/routes.yaml

_novaezseo_routes:
    resource: '@NovaeZSEOBundle/Resources/config/routing/main.yaml'

Create the table

See the file bundle/Resources/sql/schema.sql

If on eZ Platform 3x, you need to run:

php bin/console [ezplatform|ibexa]:graphql:generate-schema

Remove the Robots.txt (native RewriteRules )

Add a # at the beginning of the line

Nginx

#rewrite "^/robots\.txt" "/robots.txt" break;

Apache

#RewriteRule ^/robots\.txt - [L]

Updated on 11--18--2021 23:29:35