SEO Links for Object Listviews (resolved)

Michael_S
Senior Member
Beiträge: 160
Registriert: Mi 4. Feb 2004, 02:39
Wohnort: London / UK
Kontaktdaten:

SEO Links for Object Listviews (resolved)

Beitragvon Michael_S » So 22. Mai 2011, 12:01

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.
Production Area
London, UK
http://productionarea.com

Michael_S
Senior Member
Beiträge: 160
Registriert: Mi 4. Feb 2004, 02:39
Wohnort: London / UK
Kontaktdaten:

Re: SEO Links for Object Listviews (resolved)

Beitragvon Michael_S » So 22. Mai 2011, 14:34

The instructions can be found here and are easy to follow for English speaking users:

http://forum.webedition.org/viewtopic.p ... ess#p60743

Michael.
Production Area
London, UK
http://productionarea.com

Michael_S
Senior Member
Beiträge: 160
Registriert: Mi 4. Feb 2004, 02:39
Wohnort: London / UK
Kontaktdaten:

Re: SEO Links for Object Listviews (resolved)

Beitragvon Michael_S » Mo 23. Mai 2011, 14:00

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:

Code: Alles auswählen

ErrorDocument 404 /webEdition/redirectSEOurls.php
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.
Production Area
London, UK
http://productionarea.com


Zurück zu „webEdition Basic Version“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 6 Gäste