Skip to main content

Questions tagged [404-page]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Why are my entry changes not appearing on my live website

When I move/add/edit my pages they are appearing on live preview, but when I search my website manually on a they are not there.
Courtney Edwards's user avatar
2 votes
1 answer
855 views

Template not found: $PRIMARY_SITE_URL/$PRIMARY_SITE_URL/blog/this-is-my-blog

Very new to craft CMS, recently just installed XAMPP with php 7 and craft 3 and followed the getting started tutorial from Craft CMS. Then when I try to preview or open the page created from the ...
Steven Zhang's user avatar
0 votes
1 answer
207 views

404 Page for Multi-lingual Page

For my multi-lingual-Page (de + en) I've made a 404.html-File in my templates-Folder with a language-changer for html-content-output like {% if craft.app.language == 'de-CH' %}<p>Hallo</p> ...
ChuckLean's user avatar
1 vote
1 answer
127 views

Craft CMS shows disabled entry page

Entry is disabled https://monosnap.com/file/l8tgvr5Fxpw0OXPbpcwiI57JmZjL51 But despite that on its address I see its template loaded only without entry data. I expected to see 'Page Not Found'.
g1un's user avatar
  • 81
2 votes
1 answer
356 views

How to route 404 errors for multi-site Craft?

Craft looks for /templates/404 by default. What do you do if you have multiple sites?
4midori's user avatar
  • 668
1 vote
1 answer
561 views

devMode false, Internal Server Error

Wanted to test 404 error page on our beta site. Set devMode to "false" in general.php. When I do this and try to view inner pages on the website, we receive an "internal server error". All inner pages ...
BrianMc's user avatar
  • 71
1 vote
1 answer
607 views

404 page title SEOmatic

404 page doesn't have a title. It shows "| Sitename" in my case. I'm using Craft 3 with the SEOmatic plugin and would like to set the title in the 404 template. {% set seomaticMeta = seomaticMeta | ...
Jeroen's user avatar
  • 308
2 votes
1 answer
2k views

How to show homepage for 404 errors

Instead of a standard 404 error page, I want to send 404s to the homepage and can't seem to get this working right. If I add {% redirect '/' %} in my 404.html template, that works except it gives a ...
Janine's user avatar
  • 241
2 votes
1 answer
1k views

404 error page not loading

I found this question "404 Page Not Showing" asked 3 years ago that the person who asked figured it out but didn't really expand on how they did. I have basically the same issue, craft doesn't load ...
Darryl Hardin's user avatar
3 votes
3 answers
9k views

Craft not loading custom 404 template for errors

Whenever I hit a non-existent page on a dev site, I only get Craft's native 404 page, not the one I have at /craft/templates/404.html. The site has no routes. Any ideas why this might be?
Sandwich's user avatar
  • 636
0 votes
2 answers
591 views

404 problems, staging only

I've got a bizarre issue that is only happening on staging. Locally all urls work correctly. on staging http://domain.com/archives and http://domain.com/photography/entry_slug both return a 404 page ...
CreateSean's user avatar
  • 1,983
1 vote
1 answer
1k views

How can I test if a request returns a 404?

In my 404 template I am extending a layout template. Inside that layout template I want to hide a section use an {% if craft.request... == 404 %} test. Any ideas on how I can accomplish this?
Taylor's user avatar
  • 123
3 votes
1 answer
2k views

Controller action works but still gives 404

I'm writing my first plugin and I'm slowly getting there, but I hit on a problem: I have a controller class in which I have a function that sets a cookie. I call on this function from within a ...
Tom De Smet's user avatar
  • 1,456
1 vote
1 answer
1k views

404.html template causing twig_error_syntax

I created a generic 404.html template to replace the default Craft page. I'm getting the following error when forcing a 404 in browser. Any idea what the issue is? Twig_Error_Syntax The filter "...
frshjb373's user avatar
  • 287
2 votes
1 answer
1k views

Allowing a new locale to fallback on content from a default locale?

I am setting up a localized site that defaults to English (en_us). Alternate locales will have URLs such as example.com/fr I would like to ensure that users browsing the French website don't ...
kepano's user avatar
  • 33
3 votes
1 answer
1k views

Limit entry pagination to 6 pages?

I've been given a site and asked to prevent visitors from seeing the news archive beyond page 6. The navigation has already been done, but if the user manually enters example.com/news/p7 they'll see ...
jezmck's user avatar
  • 143
4 votes
1 answer
441 views

Contact Form plugin - Error loading 404 Pages

So I have a contact form in my layout (just using the contact form plugin from the Craft guys) and on 404 pages I'm getting the following: Impossible to invoke a method ("getErrors") on a string ...
Jeremy Bise's user avatar
0 votes
1 answer
161 views

6 month old site is suddenly throwing 404s

http://denizen.tv/work/2011-kca-image-campaign http://denizen.tv has been up and running well since June, but it's suddenly throwing 404s. It looks like the same /index.php/ problem I was recently ...
brian's user avatar
  • 33
1 vote
2 answers
1k views

Can't remove index.php without getting a 404, .htaccess redirect not working, why?

So this is not my first craft build, and basically, it's identical to my last setup on the craft front, I can't see anything wrong, but I can't remove index.php without causing a 404. I've tried the ....
David Martin's user avatar
2 votes
0 answers
970 views

404 Page Not Showing

This probably has a very simple answer but cannot seem to get it working. I have a 404.html template in craft/templates and it works fine within a section (such as https://shanehudson.net/articles/...
Shane Hudson's user avatar
1 vote
1 answer
351 views

Channel URL Format leads to 404s for individual entries

I've broken my news channel but I don't know how I did it, or consequently to fix it. If one clicks on 'I just installed Craft' or 'Continue reading', it will take you to the URL I specified in the ...
Ian Janes's user avatar
5 votes
2 answers
2k views

Can I define a path to my 404 template?

Wanting to move static/single templates in to a directory pages and thus, the path to my 404 template is now pages/404.html. I don't necessarily need dynamic content as asked here. Is there a config ...
Ryan Shrum's user avatar
  • 1,914
11 votes
3 answers
5k views

What's the best way to set up a content-manageable 404 page?

I'd like to make my 404 page editable through Craft, but when I create a single for it, a URI is required. Is there a way to make a single with no URI, or is the best route to setup globals for ...
Jeremy Gimbel's user avatar