GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   wordpress 404 solution, is there one? (https://gfy.com/showthread.php?t=792974)

dynastoned 12-17-2007 07:16 PM

wordpress 404 solution, is there one?
 
im wondering is there any way i can redirect people from the 404.php page in wordpress to the homepage or something? i don't want people reaching the 404 page does anyone know a solution for this? any help appreciated!

WarChild 12-17-2007 07:18 PM

I think if you remove your 404.php it will by default use index.php

So just delete the fucker.

Murderous 12-17-2007 07:21 PM

Fuck it, delete index.php as well.

dynastoned 12-17-2007 07:24 PM

Quote:

Originally Posted by WarChild (Post 13528663)
I think if you remove your 404.php it will by default use index.php

So just delete the fucker.

lol that was easy enough, thanks. :thumbsup

CuriousToyBoy 12-17-2007 10:09 PM

http://www.reviewcash.com is a nice 404 solution ;-)

Iron Fist 12-17-2007 10:13 PM

rm -rf * :thumbsup

Fat Panda 12-17-2007 10:30 PM

that will work

faze 12-17-2007 10:37 PM

yeah it's possible

ffmihai 12-18-2007 01:15 AM

htaccess?

Murderous 12-18-2007 01:20 AM

This is becoming comical.

yahoo-xxx-girls.com 12-18-2007 02:49 AM

Hope this helps
 
Quote:

Originally Posted by dynastoned (Post 13528659)
im wondering is there any way i can redirect people from the 404.php page in wordpress to the homepage or something? i don't want people reaching the 404 page does anyone know a solution for this? any help appreciated!

Hi, you could add a line or two in your .htaccess file for redirecting webpages/websites or modify your httpd.conf file to modify the error page(s) locations.

Good luck,

.

V_RocKs 12-18-2007 02:58 AM

How old is your wordpress? Anything within the last two years diverts all to index

V_RocKs 12-18-2007 03:00 AM

Ahh.. I see... I always assumed... 404 on the WP index.. hmmm

V_RocKs 12-18-2007 03:16 AM

go to your theme directory that hold the theme you are using.

Either copy index.php to 404.php or create your own with something like:

Code:

<? header("Location: http://www.yourotherpage.com"); ?>

Snake Doctor 12-18-2007 03:17 AM

format c:

NinjaSteve 12-18-2007 04:11 AM

Quote:

Originally Posted by sharphead (Post 13529390)
rm -rf * :thumbsup

Hey I just did this and now nothing is loading. :upsidedow


All times are GMT -7. The time now is 05:53 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123