Override these views:
\vendor\elgg\elgg\views\default\errors\default.php
\vendor\elgg\elgg\views\default\errors\404.php
I looked at those files and I couldn't edit it enough to put out a message with a link to the front page.
However, I found the Message Error located at this address: elgg/languages/en.php
Page not found and
The page you are trying to view does not exist or you do not have permissions to view it. "
I can't change it because there is something stopping the change.
If you know which pages are putting out those "sentences" and if they can be edited?
Appreciate it.
Thank You.
If you need a redirect when there's no page, you can use your server configuration rules.
If you want to customize error pages inside Elgg, use the previous my reply.
I don’t want to look for Apache config now (which I hate), but I’m sure Google will help you.
Here is the redirect configuration example for Nginx:
location ~* /my-old-page { rewrite ^ https://mycoolsite.com/my-new-page; }
Bonus link: https://htaccess.madewithlove.com/
MR Shcherbin.
The site map I'm doing is a sitemap.txt with all the newer links on it. One by One and the search engines will crawl it with no problems, but if there isn't any directories inside the site with Elgg where I can go and copy those links, fine.
Already I did the sitemap.xml but search engines refuse to crawl and they don't work. I tested Google search for example and it reports links not in it's records.
To the bottom line: I need to know if there are any safe links with images and text links that I can grab and include them to deliver it in a form of sitemap.tx to the search Engines?
THANK YOU.
any safe links with images and text links that I can grab and include them to deliver it in a form of sitemap.tx to the search Engines?
We use the usual links to file pages. Google likes that. We too.
I still don't understand why you don't want to use the mentioned plugins.
I just tried this plugin on Elgg 3.3 and it works great.
But if you want to have a headache with the manual creation of the sitemap, well, I can only wish you good luck.
Mr. Nikolai Shcherbin,
I strongly appreciate your information, it is very helpful and that's is a very good reason why Elgg Software is getting better now, because of developers like you.
I installed that sitemap plugin already, but the job is not getting done by G, so far. I guess that search engine is having troubles with their servers database also these days (I think they lost or erased all the internet websites records and now they just go by what is new and mobile friendly).
I will appreciate if someone updates the "Marketplace and Questions 7.0 plugins", that is the reason why I can't move on into the Elgg 4.2.1 right now because my site has Elgg 3.3.24 ver.
THANK YOU.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.