![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Industry Role:
Join Date: Feb 2006
Posts: 26,062
|
How can I disable wordpress's 404 page and use my own?
How can I disable wordpress's 404 page and use my own? I already had/have my own, but when I installed wordpress on the domain it now takes over and does it's own 404 thing. It's annoying as fuck.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Show Yer Tits!
Industry Role:
Join Date: Feb 2002
Location: Somewhere Out there...
Posts: 25,792
|
Should be able to do it with .htaccess.
__________________
![]() Scammer Alert: acer19 acer [email protected] [email protected] Money stolen using PayPal
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
So Fucking Banned
Join Date: Jan 2009
Posts: 2,377
|
Quote:
Here's a complete tutorial http://codex.wordpress.org/Creating_an_Error_404_Page Edit: I better say this before the 3 minute edit.. You likely want to completely bypass wordpresses 404 handling all together.. I'll be back. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Industry Role:
Join Date: Feb 2006
Posts: 26,062
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Join Date: Jan 2009
Posts: 2,377
|
http://thefire.us/archives/212 maybe this? The guy says he's running Apache tho..
I don't know why i'm even responding to this thread. lol. I'd bet Fris knows how. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Industry Role:
Join Date: Feb 2006
Posts: 26,062
|
Wordpress has been pissing me off lately thinking it can just do whatever the fuck it wants. My last 2 installs set up a phantom robots.txt to disallow all user agents... Like what the fuck dude?
Now I realize I can't even use my own 404 page... I never noticed this before because this is the first time I'm adding it to an already established site that has it's own error pages that I use to redirect to a sponsor. I bet it's some simple shit to fix that will expose my noobism, but it just pissed me off so bad I'd rather ask then try to figure it out right now and end up fucking a bunch of other shit up in the process. Google didn't help one bit either. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
So Fucking Banned
Industry Role:
Join Date: Mar 2004
Posts: 272
|
replace the content of your 404 template in the editor with a php redirect.
Code:
<?php header( 'Location: hxxp://yoururl' ) ; ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Unregistered Abuser
Industry Role:
Join Date: Oct 2007
Posts: 15,547
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
So Fucking Banned
Industry Role:
Join Date: Feb 2006
Posts: 26,062
|
Quote:
![]() My headache is gone now. I think I need anger management though. I coulda figured that out if I didn't get so pissed, lol. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |