404 and 301 redirect not working - Forum | JoomShaper
Staff replied Helix Framework

404 and 301 redirect not working

Asked by Peter Verstraten 4 years ago Last activity 4 years ago

Hi there,

Last week I installed Joomla 4.0.3 with Helix Ultimate 2.0.5 and SP Page Builder 3.7.15. I don't use any special template. I activated the system redirect plugin in Joomla and enabled the Search engine friendly url and use url rewrite. Now whenever someone enters a page that doesn't exist they won't get an 404 page but instead go to the homepage. How can I change that? Also because of that, the 301 redirects on my website are not working anymore since they get auto-redirected to my homepage. I haven't change my .htaccess or anything.

[EDIT]
I noticed that a clean installation is working fine. So 4.0.3 with the mentioned template/plugins.

As soon as I create a first page in SP Page Builder and make that the default menu item the 404 is not working anymore and the 301 redirects are not working anymore.

It looks like the bug fix 3.7.15 only solved part of the 301 issues and create a new one.

[/EDIT]

Detailed info about website etc. is visible to support only.

Hope someone can help me with this.

34 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Are you sure this issue happens for the Template? If yes, Please change the template and let me know if your problem solved or not.

-Thanks

H.C.

Toufiq!
For my same problem! and it was very outrageous because it was similar many years ago!
so be so kind as to come up with an IMMEDIATE firefighting solution that we can all solve this temporarily!

I am changed Home page from Pagebuilder page to Article and after work 404 error if call invalid alias / url...

ThX+!

H.C.

Toufiq
Yes bug in pagebuilder...
LAST good working 404 error from root invalid url: domain.com/invalidaliascall
AND this version working perfect 301 Redirect system....

com_sppagebuilder_pro_v3.7.9.zip

BUG in:

/components/com_sppagebuilder/controller.php
AND
/components/com_sppagebuilder/router.php

I am change this 2 file and working all 404 error page and Joomla4 Redirect system!!

IF any user need i share original ONLY 2 file... contorller and router...

Coldcut

@markmark
I think there is only a problem with the router.php
The controller.php is good (tested with J4.0.4 and SPPB 3.8)

Toufiq Senior Staff

@markmark I have shared this post with our developer team. I hope they will check & bring solution. Thanks

H.C.

Thanks Toufiq friend :)
Now i am change only router.php and working all redirect and 404
Only frontend editor not work.. but for my like only backend edit... :)

Toufiq Senior Staff

Can you share which line of code did you change?

H.C.

i will not hike in router.php :D
i insert in zip 3.7.9 version from totall commander and upload directley owerwrite :D (first time ruter and controller after say 1 member in this frum ... bug only in ruter... and i restore controller.php from 3.8 zip... ) :)

Toufiq Senior Staff

Got it. Thanks

Kventin32

@markmark Happy 2022! Same problem with 30.
Please share
com_sppagebuilder_pro_v3.7.9.zip

/components/com_sppagebuilder/controller.php
AND
/components/com_sppagebuilder/router.php

Log in to reply.