URL Rewrite | Melvin - 404 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

URL Rewrite | Melvin - 404

A

Alex

Template 2 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

0
11 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108375

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.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108152

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

0
A
Alex
Accepted Answer
2 years ago #108183

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

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108185

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.

0
A
Alex
Accepted Answer
2 years ago #108209

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

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108321

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
0
A
Alex
Accepted Answer
2 years ago #108327

Thanks Ofi

Steps done, same 404 error See attached

Regards,

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108359

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.

0
A
Alex
Accepted Answer
2 years ago #108365

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

0
A
Alex
Accepted Answer
2 years ago #108384

OK, answer accepted

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

Many thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #108393

Sure, I will check.

0