- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Delta-Generierung: SEO-URL-Creator umgehen
Hallo liebe Commutiy,
wir stellen gerade unser Projekt auf die Delta-Generierung um.
Laut Anleitung (https://community.e-spirit.com/community/developer/blog/2013/04/09/deltageneration--get-the-generate...) wird ein SEO-URL-Creator fรผr das Erhalten von den gelรถschten Dateien benรถtigt (changeSet.getDeletedPageInfos()).
Das Problem ist, dass wir bisher den "Default URL" genutzt haben.
Eine Umstellung des Pfaderzeugers wird wahrscheinlich zu groรen รnderungen fรผhren und somit zu Problemen.
Meine Frage nun: Kann man auch ohne den SEO-URL-Creator an die gelรถschten Dateien kommen?
Liebe Grรผรe
Marcel
- Labels:
-
Developers
-
Knowledgebase
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Marcel,
ja, das mรผsste so sein, siehe dazu auch: Creating Search Engine Friendly URLs - Part 1
Starting with FirstSpirit 5.0, "Default URLs (SEO)" was introduced as an additional path generation method. Using the method suffixed with SEO it is possible to benefit from the following, extended functionality.
As stability of URLs is an important factor for ranking in search engines - you want the same content to be accessible at the same URL for the longest period of time - they should remain available even if the website structure changes or the name of the page has changed. The SEO flavoured version thus stores the URL of a page reference when it is first generated.
When generating the page reference a second time, the URL is taken from this storage and not computed again. This means that you can move a page reference within the structure of the Site Store or a media in the Media Store to a different location without getting a new URL to it upon generation.
If you want to reflect the changes made in the URL permanently you have the possibility to explicitly use the "Reset stored URLs" option as a project administrator from the context menu of media, Media Store folders, page references and menu levels. Using this option the URL storage is flushed recursively for the selected elements and a new URL is assembled during the next generation.
An additional benefit of the SEO variant is that SEO URLs and Short URLs, which will be explained in the next article of this series, are taken into account during the generation process.
Ich bin jetzt einfach mal davon ausgegangen, dass du ein Test/Dev-Projekt hast, auf dem man die Umstellung ohne Gefahr einmal ausprobieren und dann die generierten URLs entsprechend abgleichen kann.
Grรผรe
Sandro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Marcel,
hast du dein Glรผck schon einmal mit dem URL Creator "Default URLs (SEO)" versucht?
Dieser mรผsste die URLs auch speichern, so dass du sie fรผr die Deltagenerierung abfragen kannst, mรผsste sich aber was die Erzeugung der URLs angeht so verhalten wie der normale Default URL creator. (Ich habe es jetzt nicht ausprobiert. daher keine Gewรคhr. ๐ )
Grรผรe
Sandro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sandro,
danke fรผr die Antwort!. Habe ich das richtig verstanden: Der "Default URLs(SEO)" erzeugt die gleichen URLs wie der "Default URLs" `?
Es gibt externe Seiten, die auf die jetzt erzeugten URLs verweisen. Ich kann nicht auf gut Glรผck einen anderen Creator nehmen und habe am Ende plรถtzlich andere URLs. :smileyconfused:
Liebe Grรผรe
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Marcel,
ja, das mรผsste so sein, siehe dazu auch: Creating Search Engine Friendly URLs - Part 1
Starting with FirstSpirit 5.0, "Default URLs (SEO)" was introduced as an additional path generation method. Using the method suffixed with SEO it is possible to benefit from the following, extended functionality.
As stability of URLs is an important factor for ranking in search engines - you want the same content to be accessible at the same URL for the longest period of time - they should remain available even if the website structure changes or the name of the page has changed. The SEO flavoured version thus stores the URL of a page reference when it is first generated.
When generating the page reference a second time, the URL is taken from this storage and not computed again. This means that you can move a page reference within the structure of the Site Store or a media in the Media Store to a different location without getting a new URL to it upon generation.
If you want to reflect the changes made in the URL permanently you have the possibility to explicitly use the "Reset stored URLs" option as a project administrator from the context menu of media, Media Store folders, page references and menu levels. Using this option the URL storage is flushed recursively for the selected elements and a new URL is assembled during the next generation.
An additional benefit of the SEO variant is that SEO URLs and Short URLs, which will be explained in the next article of this series, are taken into account during the generation process.
Ich bin jetzt einfach mal davon ausgegangen, dass du ein Test/Dev-Projekt hast, auf dem man die Umstellung ohne Gefahr einmal ausprobieren und dann die generierten URLs entsprechend abgleichen kann.
Grรผรe
Sandro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sandro,
natรผrlich habe ich eine DEV-Projekt, in dem ich mich austoben kann. Wรคre aber trotzdem doof, wenn ich irgendwas รคndere, das ich anschlieรend nicht mehr rรผckgรคngig machen kรถnnte.
Also ich habe nun alle Generierungsauftrรคge auf SEO umgestellt und die URLs bleiben tatsรคchlich alle gleich. Der Support hatte hier was anderes behauptet.
Ich danke dir auf jeden Fall vielmals! Nun erhalte ich die gelรถschten Dateien รผber die Deltag-Klasse
Liebe Grรผรe
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marcel,
nichts zu danken. Freut mich, dass du dein Problem lรถsen konntest!
Und selbst wenn sich die URLs geรคndert hรคtten, hรคttest du sie ja einfach alle zurรผcksetzen und wieder zurรผck auf den alten DefaultURLCreator wechseln kรถnnen. Das Risiko damit etwas dauerhaft und unumkehrbar kaputt zu machen ist bei FirstSpirit im allgemeinen ja zum Glรผck recht klein.
Grรผรe und viel Spaร mit der Deltagenerierung.
Sandro

