Hey, maybe anybody has a hint for practicable solution!
###1. The aim:
grouped Landingpages in Backend, so PageTree is tidy up.
###2. structure
homepage
– page1
– page2
– ...
– landingpages (grouped in Collection)
– seo-stuff
– best-product
– other-stuff
– ...
###3. hidden in Menu
The Landingpages are not visible in navigation/menu
###4. shown in SERP
- Landingpage with url: `https://www.example.com/seo-stuff.html```
-
NOT real strucutre url:
https://www.example.com/langinpages/seo-stuff.html``` ###5. Transfer to search engines: with auto-generated
https://www.example.com/sitemap.xml`
Founded Solution [but practical not usable]
- flow:redirect
I have done ./flow redirects:add
result : seo-stuff.html => landingpages/seo-stuff.html (307) - all host
or : seo-stuff.html => landingpages/seo-stuff.html (301) - all host
-for browsing it works
using address: https://www.example.com/seo-stuff.html
in url-field
is redirecting to: https://www.example.com/langinpages/seo-stuff.html
So the Landingpage would be usable.
- but:
in sitemap.xml the langingpage is still listed as:
<url>
<loc>
https://www.example.com/landingpages/seo-stuff.html
</loc>
<lastmod>2017-06-29T11:52+02:00</lastmod>
<priority>0.5</priority>
</url>
Result for search engines address: https://www.example.com/seo-stuff.html
is not visible/index-able!
Maybe I misunderstood something totally or there is a way to hide the path-part «/landingpages» in sitemap.xml.
Founded Solution [but totally confusing]
(to many pages in tree –> root-level)
flatten structure:
homepage
– page1
– page2
– ...
– seo-stuff
– best-product
– other-stuff
– ...
- knowledge-gap:
I have only to fiddle with around 12 Landingpages and 15 other pages in the same root-level, But in bigger projects with 50+ Landingpages and 30+ root-level-stuff there is for sure a more tidy/working/practicable solution.
I’m quite sure there will be be a working/practicable solution.
But I can’t figure out/find it.
I have asked for editor-friendly solution here: Best practice for SEO-friendly urls?
But @wbehncke’s PackageFactory.OffRoad seams still work only with Neos 2.X.
Today I would be happy to find a dev/terminal-working solution.
I’m quite sure I have a big understandig-gap. Can’t believe, bigger web-agencies for clients with hundreds of SEA-elements/Landingpages can offer without tidy-up-backend …
##Thoughts and hints are very welcome!
- nice-to-have: short url also for visitors
Finally it would be great not only to have better seo-/serp-ranking with redirect. Also for visitors a «end-url» without the redirected /landingpages/-stuff would be more trustworthy.
If I’m not totally wrong, therefore in Neos’ current version 3.1.X is no solution!? (routes.yaml ||.flow redirects)
If im wrong, please push me in the right direction!