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'

Override if needed admin config parameter by siteaccess

It is used in command Add field SEO in Content Type

novactive.novaseobundle.default.admin_user_id: NEW_ADMIN_ID

Create the table

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

You also need to run:

php bin/console 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 07--20--2023 10:03:23