ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problems linking within EE wiki

July 12, 2012 6:20pm

Subscribe [3]
  • #1 / Jul 12, 2012 6:20pm

    mfraase

    79 posts

    For as long as the wiki module has been available, I’ve been using html to make links because I could never get my head around the wiki syntax. Now I’m trying to create links the correct way, using the appropriate wiki syntax and I’m having all sorts of problems.

    The URL: http://www.farces.com/index.php/wiki/ goes to my wiki homepage.

    The URL: http://www.farces.com/index.php/wiki/Category:User_experience::UX_strategy/ goes to the appropriate page in the wiki. If I’m understanding EE’s wiki syntax correctly, the link for this page would be [[Category:User_experience::UX_strategy| Toward a user experience strategy]]

    When I place that wiki syntax link on the wiki homepage, the link goes to this monstrosity:

    http://www.farces.com/index.php?URL=http://www.farces.com/index.php/wiki/UX_strategy”+class=“noArticle”+title=“UX_strategy

    Which displays a simple redirect page to:

    http://www.farces.com/index.php/wiki/UX_strategy class=noArticle title=UX_strategy

    That, of course, does not exist.

    If I use the {homepage} variable, like so: {homepage}/wiki/Category:User_experience::UX_strategy/

    I get this:

    http://www.farces.com/index.php/{homepage}/wiki/Category:User_experience::UX_strategy/

    The wiki is configured as follows:

    Wiki Short Name: wiki
    Text Formatting for Articles: Xhtml
    HTML Formatting for Articles: Allow ALL HTML

    My wiki template (Group: wiki Template: index) is a simple:

    {exp:wiki base_path="wiki/index" wiki="wiki" theme="farces"}

    With simple copyright logic (including the {homepage} variable) and woopra/google analytics tracking code.

    Update Monday, 16 July:

    Thinking there might be something wrong with the wiki files in the database, I created a new, empty wiki and the results were the same using wiki syntax.

    I’m running EE 2.5.2 build 20120606 (including wiki module 2.3).

  • #2 / Jul 16, 2012 4:52pm

    Shane Eckert

    7174 posts

    Hello mfraase,

    So strange. Your link looks right, might be a setting.

    I would like to take a look if that works for you.

    Please be on the lookout for an email from EllisLab.

    Cheers,

  • #3 / Jul 18, 2012 2:38pm

    Dan Decker

    7338 posts

    Hi Michael!

    I’m happy to report that I found our culprit.

    The URLs are being rewritten and redirected due to a Security and Privacy setting that was enabled.

    The option to Apply Rank Denial to User Submitted Links is the reason you are seeing the links work this way. If you set that option to “no” (I’ve left it on…), then you can change this behavior.

    Cheers,

  • #4 / Jul 18, 2012 2:45pm

    mfraase

    79 posts

    Thanks kindly, Dan. That appears to have cleared things up.

  • #5 / Jul 18, 2012 6:44pm

    Kyle Cotter

    730 posts

    Hi Michael,

    Glad to hear Dan cleared up your issue. If you have any more questions, feel free to start a new thread.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases