Could someone post a basic guide to the SEO Links set-up for Object Listviews or direct me to a German post and I will translate.
Thanks in advance,
Michael.
SEO Links for Object Listviews (resolved)
-
- Senior Member
- Beiträge: 160
- Registriert: Mi 4. Feb 2004, 02:39
- Wohnort: London / UK
- Kontaktdaten:
Re: SEO Links for Object Listviews (resolved)
The instructions can be found here and are easy to follow for English speaking users:
http://forum.webedition.org/viewtopic.p ... ess#p60743
Michael.
http://forum.webedition.org/viewtopic.p ... ess#p60743
Michael.
-
- Senior Member
- Beiträge: 160
- Registriert: Mi 4. Feb 2004, 02:39
- Wohnort: London / UK
- Kontaktdaten:
Re: SEO Links for Object Listviews (resolved)
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).
3. In your Object listview include objectseourls and hidedirindex and set both to 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.
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:
Code: Alles auswählen
ErrorDocument 404 /webEdition/redirectSEOurls.php
Code: Alles auswählen
<!DOCTYPE html>
<html>
<head>
<title>404 Error Page</title>
</head>
<body>
<h1>Not Found (404)</h1>
</body>
</html>
Code: Alles auswählen
<we:listview type="object" classid="#" objectseourls="true" hidedirindex="true">
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.
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 30 Gäste