Here's a basic guide on SEO links for webEdition 6.2 or above, before you start you will need a working Object listview with links to a detail page.
1. Create a .htaccess file and save this to the webroot (/.htaccess) by selecting /New/Other/.htaccess Document. Enter the following code and publish your new file:
2. create a 404.html or 404.php file in the webroot (/404.php), this can be a simple page or styled using your master template. You do not need to enter any special webEdition code in this page or template but you must enter the path to the file in the SEO links section of the webEdition preferences (Errorpage for not existing objects).
Code: Alles auswählen
<!DOCTYPE html>
<html>
<head>
<title>404 Error Page</title>
</head>
<body>
<h1>Not Found (404)</h1>
</body>
</html>
3. In your Object listview include objectseourls and hidedirindex and set both to true.
Code: Alles auswählen
<we:listview type="object" classid="#" objectseourls="true" hidedirindex="true">
4. In your Class, click on the properties tab and edit the SEO-URL, if you are building a blog style site the following example would give you /YYYY/MM/Your-Title.
Creation Year (2011)
Directory separator
Creation Month
Directory separator
URL field 1 (64)
5. In your Class, click on the Edit tab and select the field you want to use for the pretty or descriptive part of the URL by clicking on the URL field 1 radio button. Save your Class.
6. Rebuild the Objects and test.