- Posts: 43
- Thank you received: 0
404 page
-
gabrielbur
Inactive member - Topic Author
- Member
Less
More
2 years 2 months ago #49644
by gabrielbur
404 page was created by gabrielbur
Hello,
today I found out that the 404 page does not work. I get the notification that there are too many redirects (ERR_TOO_MANY_REDIRECTS).
Please help me to solve this.
Many thanks in advance!
today I found out that the 404 page does not work. I get the notification that there are too many redirects (ERR_TOO_MANY_REDIRECTS).
Please help me to solve this.
Many thanks in advance!
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
2 years 2 months ago #49645
by milos
Hello,
If the "error.php" file is available in the /templates/sparky_framework folder please edit it and check the line that contains the header command. For example, if your 404 error page is demo.hotjoomlatemplates.com/quattro/index.php/pages/404-page then the header line should be:
Regards,
Milos
If the "error.php" file is available in the /templates/sparky_framework folder please edit it and check the line that contains the header command. For example, if your 404 error page is demo.hotjoomlatemplates.com/quattro/index.php/pages/404-page then the header line should be:
Code:
header('Location: '.JURI::base().'index.php/pages/404-page');
Regards,
Milos
Please Log in to join the conversation.
-
gabrielbur
Inactive member - Topic Author
- Member
Less
More
- Posts: 43
- Thank you received: 0
2 years 2 months ago #49646
by gabrielbur
Replied by gabrielbur on topic 404 page
Yes, this is a similar build of the 404 page.
I added my error.php as text. This is the error.php that you provided with the Bakery template.
I added my error.php as text. This is the error.php that you provided with the Bakery template.
Please Log in to join the conversation.
-
gabrielbur
Inactive member - Topic Author
- Member
Less
More
- Posts: 43
- Thank you received: 0
2 years 2 months ago - 2 years 2 months ago #49647
by gabrielbur
Replied by gabrielbur on topic 404 page
and this does not work.
Here the URL of my error page: theartofgabriel.com/_losmuertos/_01d/index.php/pages/page-404
Here the URL of my error page: theartofgabriel.com/_losmuertos/_01d/index.php/pages/page-404
Last edit: 2 years 2 months ago by gabrielbur.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
2 years 2 months ago #49648
by milos
Hello,
In the file you attached, this line:
should be changed to this:
Regards,
Milos
In the file you attached, this line:
Code:
header('Location: '.JURI::base().'index.php/pages/404-page');
should be changed to this:
Code:
header('Location: '.JURI::base().'index.php/pages/page-404');
Regards,
Milos
The following user(s) said Thank You: gabrielbur
Please Log in to join the conversation.
-
gabrielbur
Inactive member - Topic Author
- Member
Less
More
- Posts: 43
- Thank you received: 0
2 years 2 months ago #49649
by gabrielbur
Replied by gabrielbur on topic 404 page
Aaaargh :-o
Thank you so much!!!
Sometimes you are blinded after coding all day long.
Thank you so much!!!
Sometimes you are blinded after coding all day long.
Please Log in to join the conversation.
Time to create page: 0.168 seconds