1

I have a link from my home page:

<h1><a href="{title_permalink='projects/view'}">{title}</a></h1>

I have the template setup in my folder -> http://cl.ly/QMlL

I can't understand why it isn't working.

7
  • You don't have {if no_results}{redirect="404}{/if} in your view template do you?
    – Tyssen
    Commented Jul 21, 2013 at 12:54
  • My view template is currently static at the moment.
    – Nick Toye
    Commented Jul 21, 2013 at 12:57
  • Oh its because there is no dynamic content. That's a rookie mistake. :)
    – Nick Toye
    Commented Jul 21, 2013 at 12:59
  • Hmm, actually that isn't it. Here is a gist of my view.html gist.github.com/NickToye/6048546 and this is my main page which links to the projects. gist.github.com/NickToye/6048547 Anything I am doing wrong there?
    – Nick Toye
    Commented Jul 21, 2013 at 13:16
  • Please, @NickToye, improve your question. What is the link being generated? The link on your images is different of the others ones. Why?
    – Sobral
    Commented Jul 21, 2013 at 14:02

1 Answer 1

1

It was an .htaccess issue. Nick didn't know that a .htaccess file is need to remove the index.php from the URLs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.