Custom Error Page Redirect To Homepage - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Custom Error Page Redirect To Homepage

J

Jim

General 3 years ago

Hi, Joomla 4 and SP-Pagebuilder, created a hidden-menu with a error-404 page. i updated the error.php file in template folder, if error 404 -> redirect /error-404.html. on normal pages i dont get a 404 code - just a pagereload 200 to home page. on blog detail pages ( without sp pagebuilder ) it works. on joomla blog page (without sp pagebuilder ) - dont work. SEO-options on: sef, html,... j4 htaccess file normal, nothing added. Please Help :D

0
8 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #43797

Hi,

maybe instead of customization of error.php file (which is not supported by us) you should use redirect extension that can handle error view. Some SEO extensions allows that.

Have you tried this same with cassiopeia template?

0
J
Jim
Accepted Answer
3 years ago #43837

why should i try cassio? you build also own template :D... in J3 this works. you dont support that? but why is there a how to? custom error page?...

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #43861

maybe it's Joomla 4 problem, if all works OK in J3.

SPPB do not manage error page, only Joomla core and template in small part.

0
J
Jim
Accepted Answer
3 years ago #45376

Well, i have some blog and blog-detail pages with working redirect to my error page. just the sp-pagebuilder-pages dont get a redirect, just a reload from home-page. so its a SPPB Problem. Hope somebody get the solution soon.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #45407

we will see how it would be in SPPB 4 (upcomming)

0
J
Jim
Accepted Answer
3 years ago #45419

thats the solution - waiting? why the j4 error handling cant handle pagebuilder-pages? Uri, Realname, Seo-friendly urls not working in sppagebuilder redirect? j4 cant handle that? ... 4 pages are ready to go online... so i need a solution now :)

0
J
Jim
Accepted Answer
3 years ago #46073

so what is your solution? redirect works with joomla article pages but not with sp-pagebuilder-pages. so the uri oder seo-friendly url or something else is broken and dont work with J4. Please i need a workaround this year.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #46108

I don't have answer yet, becuase Joomla 4 core is much different than Joomla 3 was.


Seo-friendly urls - you can get , if you add page(s) to menu items. This worked and still works.

0