Activity Stream
48,167 MEMBERS
6990 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1.     
    #1
    Member
    Website's:
    CPAFix.com

    Default Redirecting all pages to my index....

    Hi there, my website is undegoing major transformation and i have removed all the old /contact.html etc pages, so all i have on the host is index.html and css file - yet all the pages are indexed on google and when clicked show a unprofessinal error page - how can i make it so that easily any extension goes to my homepage?

    please break down in detail - very newbish
    Okenyon Reviewed by Okenyon on . Redirecting all pages to my index.... Hi there, my website is undegoing major transformation and i have removed all the old /contact.html etc pages, so all i have on the host is index.html and css file - yet all the pages are indexed on google and when clicked show a unprofessinal error page - how can i make it so that easily any extension goes to my homepage? please break down in detail - very newbish ;) Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    FusionWarez.info SmokeHost.net Leechers.co
    Hey,

    Make 404's redirect to your home page.

  4.     
    #3
    Member
    Website's:
    donotclickme.com
    Ok here is a detailed reply.There is a file in the first directory of your site, public_html, if you are using cPanel and a couple of the other control panels call it http_docs I think.

    The file name is .htaccess. It controls all the behind the scenes stuff that manages your site. In this case you are telling it that you want all errors forwarded to a specific page.

    To do this,you should add the following line to your .htaccess file:

    ErrorDocument 404 /index.php

    (or index.html, whatever your index page is).
    Hope it helps.

    Regards.
    "Advertising may be described as the science of arresting the human intelligence long enough to get money from it."

    Stephen Butler Leacock (1869-1944)

  5.     
    #4
    Member
    Website's:
    CPAFix.com
    i placed a file named .htaccess.

    with

    ErrorDocument 404 /index.php


    in the root of the public folder and it didnt work?

  6.     
    #5
    Member
    lol 404 is just for the pages that are not available is when they will redirect to the index page.

    If you are using cpanel u can redirect all pages through that, go to redirects and redirect all pages to the page you want.


  7.     
    #6
    Banned
    Website's:
    FusionWarez.info SmokeHost.net Leechers.co
    Sponge that is what he needs,

    He only has 2 files on his host and the rest aren't there anymore but still indexed. Therefore 404's are what is shown. On cPanel, go to edit error pages & put in a meta refresh to redirect it to your index.

  8.     
    #7
    Member

  9.     
    #8
    It begins...
    Create a file named .htaccess

    Enter this in it:
    Code: 
    RewriteEngine On
    RewriteRule (.*)$ index.html [L]

  10.     
    #9
    Member
    Website's:
    donotclickme.com
    Quote Originally Posted by Okenyon View Post
    i placed a file named .htaccess.

    with

    ErrorDocument 404 /index.php


    in the root of the public folder and it didnt work?
    Strange.works for me tho !
    Proof : Type any url with hotfiledownloads.org and it'll go to index page.
    e.g. http://www.hotfiledownloads.org/imhottestmenot.html goes to index page
    "Advertising may be described as the science of arresting the human intelligence long enough to get money from it."

    Stephen Butler Leacock (1869-1944)

  11.     
    #10
    Respected Member
    He server may be using nginx which plays havoc on standard .htaccess .

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Vbulletin Not redirecting to index
    By lexishost in forum Technical Help Desk Support
    Replies: 13
    Last Post: 29th Mar 2011, 07:25 AM
  2. Why won't google index my inner pages?
    By Ruriko in forum Webmaster Discussion
    Replies: 4
    Last Post: 28th Nov 2010, 08:56 AM
  3. [Tut & Guide] How to find DDL Index Pages
    By CyberAff in forum Tutorials and Guides
    Replies: 0
    Last Post: 5th Oct 2010, 02:57 AM
  4. why my index pages decreasing?
    By BounceR in forum General Discussion
    Replies: 3
    Last Post: 30th Jul 2010, 10:53 AM
  5. LE index to index dutchwarez.net
    By peterr33 in forum Traffic Market (Buy, Sell and Trade)
    Replies: 0
    Last Post: 21st Mar 2010, 06:03 PM

Tags for this Thread

BE SOCIAL