How to Make a 404 Page?

Hey, I was wondering if it is possible to make a 404 error page for Elgg.

Because I use Hostgator to host my site and usually if I put in "mysite/404" it doesn't use a Elgg like 404 it uses Hostgator's 404 page.

So how would I make one and make it so if someone does try to go to a page that doesn't exist, it would redirect to the 404 page.

(I'm using 1.8.1) 

  • Oh... lol my bad. Thanks

  • We added a 404 page in 1.8.2 or 1.8.3 - don't remember which version.

  • Elgg 1.8.xxxx is now provided a user friendly 404 pages like (not found)

    But response code is still 200 instead for 404.

    Google is considering all not found contents under soft404 errors. which are not good for SEO.

    Is there a way to fix this So it will produce 404 error code instead of 200 to browser?

    /pg/ part is redirected to new url but as now groups have profile in url which is again not found and nor redirected.

    same thing in case of tidypics by Bret urls are changed and existing pics and albums are not found to google and displaying all soft404 error.

    We must need to add permanent redirect to new urls, otherwise it will hurt seo.

  • That does seem like an issue that may have been overlooked.  I'd add that to trac as a bug...

  • One thing you can do is listen to the current URL when it forwards to the elgg's 404 (200) page and then using the current URL parameters, issue a 301 to the new URL.

    the -ve side is that It creates an extra redirect

    the +ve side is that, your users wont get a 404. (remember the sites are for users not for bots)

  • @Team Webgalli not agree with you. Are you able to point any elgg based website whose rank is in first 50,000 except elgg community site. Community site is used by developers and site owners and it has unique contents so people are visiting it again and again. Rest of sites, people creates and after few months they might be on some other platform or site was closed. Take a look on a list of elgg based sites.(Dhrup and Cash has that list I think)

    As we are serving contents with public access then how we get new visitors from search engines we are weak in seo as compared to WP and other plateforms available in market.

    We must need to pay attention for seo. Even facebook gets 30% daily visits from search engines.

     

    One more thing I want to point out here:-

    For example here is a website a guy posted today as his community is running which is new site and behaving same as out of the box. check below example to understand my mean.

    http://www.fluid-hotel.com/

    Now try to open it by

    http://www.fluid-hotel.com/sadsads

    it will give you a message like page not found which is good for users but actually it is producing a 200 code which means this crap is also available in form of page. It need to provide same message along with a exact error code 404 which means not found.

    Please check yahoo in same case we need to follow these big sites.

    http://www.yahoo.com

    Now check it like this and note one more thing after few sec. 404 error page automatically redirect to index page which is also good for users.

    http://www.yahoo.com/sadsads

     

    Yes I am agree with you in case if page is existing with different user then we need to redirect it to new url with error code 301 which means this perticular page is moved permanently to new location. for example(tidypics urls, group profile urls, user profile urls etc.)

     

  • @ghumanz You should post these ideas as feature requests in trac. I'm sure the core teams takes SEO and HTTP compliance seriously.

  • @ Matt did you submit this bug to trac ???

    Or is there any temporary solution to this problem????