https://github.com/entando/entando-plugin-jpseo
https://github.com/entando/entando-plugin-jpseo
hacktoberfest
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/entando/entando-plugin-jpseo
- Owner: entando
- License: lgpl-3.0
- Created: 2020-07-07T11:37:34.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2024-12-20T16:03:27.000Z (over 1 year ago)
- Last Synced: 2025-02-01T03:27:52.613Z (over 1 year ago)
- Topics: hacktoberfest
- Language: Java
- Homepage:
- Size: 746 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/entando/devops-results/tree/logs/jenkins-x/logs/entando/entando-plugin-jpseo/master)
[](https://sonarcloud.io/dashboard?id=entando_entando-plugin-jpseo)
[](https://entando.github.io/devops-results/entando-plugin-jpseo/master/jacoco/index.html)
[](https://entando.github.io/devops-results/entando-plugin-jpseo/master/dependency-check-report.html)
[](https://sonarcloud.io/dashboard?id=entando_entando-plugin-jpseo)
[](https://sonarcloud.io/dashboard?id=entando_entando-plugin-jpseo)
[](https://sonarcloud.io/dashboard?id=entando_entando-plugin-jpseo)
entando-plugin-jpseo
# SEO
**Code**: ```jpseo```
## Description
The SEO plugin enables some functionality inside the page configuration (new parameters and friendly url), in the content handling (new role attribute to pilot friendly url) and to extract the sitemap.
## Installation
In order to install the SEO plugin, you must insert the following dependency in the pom.xml file of your project:
```
org.entando.entando.plugins
entando-plugin-jpseo
${entando.version}
war
```
## How to use
###### Modify of web.xml
Add, into web.xml file (into src/main/conf folder), the following xml section
```
ControllerServlet
/page/*
```
###### Page Model CUSTOMIZATION
Add the following tld declaration in the page models:
<%@ taglib prefix="jpseo" uri="/jpseo-aps-core" %>
You can add the following tag (into the header of the pagemodel) to print the entire metatag configuration of the current page
```
```
OR use the follow instruction for more granular control on the metatag to print.
In order to add the metadata description, add the following section in the header:
```
" />
```
you can use, into the header of the page models, the following sections:
```
" />
```
```
" />
```
###### Content CUSTOMIZATION
To ensure that MAIN CONTENT influences the page's description (see appropriate tag in the page templates section)
the jsp of the WIDGET content_viewer must be changed as follows:
**Add the following tld declaration**
<%@ taglib prefix="jpseo" uri="/jpseo-aps-core" %>
**Modify the content tag**
substitute:
```
```
for
```
```
# Developing against local versions of upstream projects (e.g. admin-console, entando-engine).
Full instructions on how to develop against local versions of upstream projects are available in the
[entando-parent-bom](https://github.com/entando/entando-core-bom) project.