Results 1 to 10 of 10
  1. #1
    Casual Pligger meridaman's Avatar
    Joined
    Mar 2008
    Posts
    33

    How to change "The page you were looking for doesn’t exist"

    Hello,

    if i discard a old or bad news, and the link is still in google, my visitors land on the page which say

    The page you were looking for doesn’t exist!

    i would like that they get on my index site, whith actual news.

    andy ideas

    thanks

  2. #2
    Casual Pligger raghhav's Avatar
    Joined
    Oct 2009
    Posts
    76
    in this case, i would set a redirect for related news with high votes.

  3. #3
    Pligg Founder Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,063
    Site
    http://pligg.com/demo/
    Open up your .htaccess and find:
    Code:
    ErrorDocument 404 /404error.php
    Change to:
    Code:
    ErrorDocument 404 /index.php
    PS, you will need to insert any subdirectories in there if you are installed in a subfolder like /pligg. Resulting in /pligg/index.php.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  4. #4
    Casual Pligger meridaman's Avatar
    Joined
    Mar 2008
    Posts
    33
    thanks Yankidank
    i made your change, i have no subfolder, but still when i enter an no existing link
    i got the text this site dosn´t exist and no index.php
    even when i delete 404.php i get still the text and no index
    i clean cache too, refesh and all

    @ raghhay , and how do you thnink i get this redirect for related news with high votes ?
    i have no chance to do it manually, too many news.
    your idee is good, but i dont now how to do it.

  5. #5
    Casual Pligger meridaman's Avatar
    Joined
    Mar 2008
    Posts
    33
    somenody have any idea, thanks

  6. #6
    Casual Pligger raghhav's Avatar
    Joined
    Oct 2009
    Posts
    76
    Quote Originally Posted by meridaman View Post
    @ raghhay , and how do you thnink i get this redirect for related news with high votes ?
    i have no chance to do it manually, too many news.
    your idee is good, but i dont now how to do it.
    then do one thing, re-create a 404 in such a way that visitor should not be knowing the page does not exist, subsequently give the category links to browse through the relevant news.

    This way your page views also gets increased and visiting time and ultimately visitor would find more and better stories from you site.

  7. #7
    Casual Pligger meridaman's Avatar
    Joined
    Mar 2008
    Posts
    33
    do you have an idee, php code ?
    how to change the 404.php

  8. #8
    Casual Pligger raghhav's Avatar
    Joined
    Oct 2009
    Posts
    76
    You are not suppose to change 404error.php, change www.yourdomain.com/templates/404error.tpl to what ever you want. As you can see it for my site, Error Page.

    If you want to view the code, then right click and view source you will get an idea to change it.

  9. #9
    Casual Pligger meridaman's Avatar
    Joined
    Mar 2008
    Posts
    33
    thanks this was my error, i changed the php, not the tpl
    now works fine thanks

  10. #10
    New Pligger hypesol's Avatar
    Joined
    Aug 2009
    Posts
    6
    I am also getting error on submission

Similar Threads

  1. Change what appears in "Live" page
    By brentcee23 in forum Questions & Comments
    Replies: 4
    Last Post: 01-24-2012, 04:40 PM
  2. Change "queued" to "upcoming" on Live Page
    By Kabobbin in forum Questions & Comments
    Replies: 3
    Last Post: 01-27-2011, 06:52 PM
  3. Replies: 1
    Last Post: 07-02-2008, 10:53 AM
  4. Change index from "highest rated" to "Top in Week"
    By abraxas in forum Questions & Comments
    Replies: 0
    Last Post: 04-17-2008, 11:15 AM
  5. Categories... change from "upcoming" to "published"
    By bigwavejake in forum Questions & Comments
    Replies: 0
    Last Post: 03-07-2008, 04:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting