Solved Templates

URL Rewrite | Melvin - 404

Asked by Alex 3 years ago Last activity 3 years ago

Hi, I've installed Melvin on my sever:

melvin_quickstart_j4_v2.0.0
php 8.0 , Joomla 4.2
Renamed htaccess.txt to .htaccess and enabled "Use URL Rewriting"
OpenSpeedLite 1.7 | URL Rewrite will auto load from .htaccess

Now when I navigate in the front-end I get 404, how to fix this?
I also tried as below: Site Name in Page Titles = After | still 404
https://www.joomshaper.com/forum/question/18288

  • pages are working fine without "URL Rewriting"
  • see attached for more fun

Thanks

Accepted answer

Marked as the solution
Ofi Khan Staff

Sorry, I do not have idea on this and it is not related to our product. Please accept any answer to close the issue. There is a button to accept answer after each comment.

10 more replies

Ofi Khan Staff

Hello Alex

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.

Best regards

Alex Asked this

Hi Ofi

Thanks for your help
I've attached the credentials

Please let me know what exactly you did there.
This is a test site and I need to reinstall it in production -and fix the code myself the next time

Thanks

Ofi Khan Staff

I have renamed this file: templates/shaper_melvin/html/layouts/joomla/edit/frontediting_modules.php and thus seems to fix the error.

Please share your cPanel access to check the 404 issue.

I or the team will check the other issues soon.

Alex Asked this
3 years ago · edited

Thanks Ofi but the problem of 404 is still there - this is the only problem on this ticket.
I renamed htaccess.txt to .htaccess and enabled URL Rewrite - same 404 error when I navigate the front-end.
Not sure what you mean by ".. and thus seems to fix the error." ? Which error have you fixed?

Sorry I can't share the credentials of my cPanel
Please fix and tell me what I need to change

Thanks

Ofi Khan Staff

You had an error
0 array_replace(): Argument #1 ($array) must be of type array, string given

I have fixed it.

I would check these steps to fix 404 issue.

  1. Go to Global Configuration -> Site -> SEO and set Search Engine Friendly URLs -> Yes
  2. Then set Use URL Rewriting -> Yes and Site Name in Page Titles -> After
  3. Then go to your site folder and rename the htaccess.txt file to .htaccess
Alex Asked this

Thanks Ofi

Steps done, same 404 error
See attached

Regards,

Ofi Khan Staff

I have taken your site backup with Akeeba Backup and tried it on another server. After fresh installation, I have renamed htaccess.txt to .htaccess. It is working fine as expected. Please take the backup from your site -> Components -> Akeeba Backup -> Control Panel -> Manage Backups. Then install it fresh. Hopefully, the problem will be solved.

Alex Asked this

Hi Ofi

Thanks for your response
But Akeeba doesn't fix the issue ( I don't need it to backup my sites because I already have a backup utility on my server- and Akeeba is super-slow, not a great tool)

You may simply have Apache on your sever, that's why it's working, whereas I don't.

I use OpenSpeedLite, and that server is providing URL Rewrite
OSLite is compatible with Apache, but probably is not 100% compatible since Joomla redirects don't work.

Please close this ticket if you don't know how to fix URL Reqrite with OSLite

Thanks

Alex Asked this

OK, answer accepted

Can you please have a look at my other 2 tickets?

Many thanks

Ofi Khan Staff

Sure, I will check.

Log in to reply.