Results 1 to 10 of 14
-
25th Feb 2011, 10:26 AM #1OPMemberWebsite's:
CPAFix.comRedirecting 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 newbishOkenyon 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
-
25th Feb 2011, 10:27 AM #2BannedWebsite's:
FusionWarez.info SmokeHost.net Leechers.coHey,
Make 404's redirect to your home page.
-
25th Feb 2011, 10:45 AM #3MemberWebsite's:
donotclickme.comOk 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).
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)
-
25th Feb 2011, 11:10 AM #4OPMemberWebsite's:
CPAFix.comi placed a file named .htaccess.
with
ErrorDocument 404 /index.php
in the root of the public folder and it didnt work?
-
25th Feb 2011, 11:14 AM #5Member
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.
-
25th Feb 2011, 11:17 AM #6BannedWebsite's:
FusionWarez.info SmokeHost.net Leechers.coSponge 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.
-
25th Feb 2011, 11:20 AM #7Member
301 redirect:
http://www.webconfs.com/how-to-redirect-a-webpage.php
-
25th Feb 2011, 11:28 AM #8It begins...
Create a file named .htaccess
Enter this in it:
Code:RewriteEngine On RewriteRule (.*)$ index.html [L]
-
25th Feb 2011, 03:00 PM #9MemberWebsite's:
donotclickme.comStrange.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)
-
25th Feb 2011, 05:04 PM #10Respected Member
He server may be using nginx which plays havoc on standard .htaccess .
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Vbulletin Not redirecting to index
By lexishost in forum Technical Help Desk SupportReplies: 13Last Post: 29th Mar 2011, 07:25 AM -
Why won't google index my inner pages?
By Ruriko in forum Webmaster DiscussionReplies: 4Last Post: 28th Nov 2010, 08:56 AM -
[Tut & Guide] How to find DDL Index Pages
By CyberAff in forum Tutorials and GuidesReplies: 0Last Post: 5th Oct 2010, 02:57 AM -
why my index pages decreasing?
By BounceR in forum General DiscussionReplies: 3Last Post: 30th Jul 2010, 10:53 AM -
LE index to index dutchwarez.net
By peterr33 in forum Traffic Market (Buy, Sell and Trade)Replies: 0Last Post: 21st Mar 2010, 06:03 PM
themaCreator - create posts from...
Version 3.46 released. Open older version (or...