thomasmery / cominst.com Goto Github PK
View Code? Open in Web Editor NEWSite Web de Communications & Institutions
License: MIT License
Site Web de Communications & Institutions
License: MIT License
We want to be able to have urls like:
/fr/actualites/ci-dans-les-medias
/fr/actualites/ci-dans-les-medias/mon-article-sur-le-lobbying
what has been tested as a a solution:
there have been some issues when testing where the single posts in EN would not be displayed either entering an infinite redirect loop or redirecting to the FR post
this seems to have been solved by
this has to be tested again on Staging env
Important: when structure has been redefined > setup redirections
pages and posts that are not the Home Page have duplicate h1 tags
only one must exist for each page or post
this is due to the fact that there is a h1 in the header for the site's title and one for the page title
leave only the main page title as h1
a JS error is raised claiming the Rest client can not find the header used to discover the Rest API
We use the recommended discovery method
https://developer.wordpress.org/rest-api/using-the-rest-api/discovery/#link-header
but the WP Super Cache mechanism to cache HTTP Headers does not seem to work as it should even with the appropriate settings turned on :
Some pages had been setup as noindex pages because their content was appearing on the home page and we wanted to avoid duplicate content penalties
after discussing the matter with seo expert it seems it is better to indicate a canonical url than excluding those pages from the index
the pages are :
Using an url like: /fr/actualites-ci-lobbying/page/2/
a User should be taken to the correct posts list page within the News Section
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.