Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to Configuration > SEO.
  2. On the [Overview] tab, select "All pages without friendly URLs". The items without a friendly URL are listed. If any items appear in the list, you can manually recalculate the friendly URL for some or all items on your website.
  3. Click the [Friendly URLs] tab.
  4. Select the type of recalculation to be performed:
    • Calculate the friendly URL for all items which have no friendly URL yet. A friendly URL will be assigned only to the selected items currently lacking a friendly URL.
    • Recalculate the friendly URL for all items. A friendly URL will be calculated for all the selected items belonging to the current channel. The URL history for pages and content items will be preserved.
  5. Select the items for which the friendly URL calculation will be performed: "Pages" or "Content Repository items".
  6. Click [Calculate]. Items with no friendly URL will be assigned one.



Back to top


...


Panel
borderColor#0081C0
titleColor#0081C0

The following applies to XperienCentral versions R36 and higher.

Running XperienCentral without a Friendly URL Extension

Beginning in XperienCentral version R36, it's It is possible to run XperienCentral without using a friendly URL extension. This means that a URL URLs like /contact.htm would be changed to /contact. are possible. In order to activate this feature a few changes need to be made to both the configuration of Apache and the configuration of XperienCentral itself.

Updating the Apache

...

Configuration

In an existing Apache configuration environment, the following configuration is usually used to route traffic from Apache to XperienCentral:

R35 and earlier


Code Block
themeEclipse
RewriteCond %{REQUEST_URI} !^/web/
RewriteCond %{REQUEST_URI} !^/admin/
RewriteRule ^/(.*)\.htm$ /web/$1.htm [PT,L]


R36 and later


Code Block
themeEclipse
RewriteCond %{REQUEST_URI} !^/web/
RewriteCond %{REQUEST_URI} !^/admin/
RewriteRule ^/(.*)\.htm$ /web/seo/$1.htm [PT,L]


When the friendly URL is blank, it can no longer be redirected. Use the following code to run XperienCentral without a friendly URL extension.


Code Block
DirectoryIndex index.html 

<IfModule mod_rewrite.c>
   RewriteEngine On

   #Optional to make sure that old urls are redirected to XC properly
   RewriteRule ^(.*).htm$ $1 [R=301,L]

   RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
   RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_URI} !^/web/ 
   RewriteCond %{REQUEST_URI} !^/systemlogs       
   RewriteRule ^(.*)$ /web/seo$1 [PT,L]   
</IfModule>