Configure the page error 404

  • nbgatsi
    Inactive member
  • Topic Author
  • Member
  • Member
More
5 years 6 months ago #47546 by nbgatsi
Hello,

The template cames with the article 404 Page. I would like to use this article to show when some user try to look for some page that dosen't exist.

Best regards,

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
5 years 6 months ago #47548 by milos
Replied by milos on topic Configure the page error 404
Hello,

In Global Configuration of Joomla, you should enable "Search Engine Friendly URLs" and "Use URL Rewriting".

Using FTP client, you must rename file htaccess.txt to .htaccess (in root folder of Joomla).

Check if your website is working after these changes. If you have problems, then your server is probably not compatible with Joomla SEF pages and you should consult your web hosting provider.

If everything works fine, then unzip the attached file, and using FTP client copy it to /templates/sparky_framework folder

Next time when you go to a page that not exists, it will redirect to the 404 page.

File Attachment:

File Name: error.php.zip
File Size:1 KB


Best regards,
Milos
The following user(s) said Thank You: nbgatsi

Please Log in to join the conversation.

  • nbgatsi
    Inactive member
  • Topic Author
  • Member
  • Member
More
5 years 6 months ago #47566 by nbgatsi
hello,

i follow the step, but still not work.

See on this link update.vt.co.mz/

Best regards,

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
5 years 6 months ago #47567 by milos
Replied by milos on topic Configure the page error 404
Hello,

Please provide link of your 404 page. Where I can see this page: demo.hotjoomlatemplates.com/business/ind...x.php/pages/404-page

on your site.

Best regards,
Milos

Please Log in to join the conversation.

  • nbgatsi
    Inactive member
  • Topic Author
  • Member
  • Member
More
5 years 6 months ago #47568 by nbgatsi

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
5 years 6 months ago #47569 by milos
Replied by milos on topic Configure the page error 404
It looks good. In the error.php file I gave you, you should change line:
Code:
header('Location: pages/404-page');

to
Code:
header('Location: sobre/404-page');

Please Log in to join the conversation.

Time to create page: 0.173 seconds
Powered by Kunena Forum