Getting Started

Configuration

While the Bundle works with minimal configuration, you can customize its behavior to suit your needs.
By default, the IDMarinas Seo Bundle doesn't require any specific configuration to work.

Configuration Reference

# Default configuration for extension with alias: "idm_seo"
idm_seo:
    sitemap:

        # Default scheme to use for URLs.
        default_scheme:       https # One of "http"; "https"

        # List of routes to exclude from sitemap. You can exclude specific routes by their exact name or use patterns like "admin_" to exclude all routes starting with that prefix.
        excluded_routes:

            # Prototype
            -                     []
    seo:

        # Configuration for the title of the page.
        title:
            default:              'IDMarinas Seo Bundle'
            prefix:               ''
            separator:            '|'
            suffix:               ''

            # Formatting templates for the title. Placeholders: {title}, {separator}, {prefix}, {suffix}.
            templates:

                # Prototype
                name:                 ~

        # Default description if none is set.
        description:          ''

        # List of locales supported by the application.
        supported_locales:    []

        # Default configuration for Open Graph tags.
        open_graph:

            # The name which should be displayed for the overall site.
            site_name:            'IDMarinas Seo Bundle'

            # The default type of your object as defined by [Open Graph protocol](https://ogp.me/#types).
            type:                 website # One of "website"; "article"; "book"; "profile"; "music.song"; "music.album"; "music.playlist"; "music.radio_station"; "video.movie"; "video.episode"; "video.tv_show"; "video.other"

        # Default configuration for Twitter Card tags.
        twitter:

            # The type of card to display.
            card:                 summary # One of "summary"; "summary_large_image"; "app"; "player"

            # The Twitter site name. It must start with "@".
            site:                 ''

            # The Twitter creator's name. It must start with "@".
            creator:              ''