![]() |
How to redirect 404 traffic on a wordpress site?
I tried adding a 404 line to the htaccess, but that doesn't work.
Well it worked if I deleted the symlinks or permalinks or whatever info that was in the htaccess, but then that would mess up my SEO efforts. I tried using an http meta refresh on the 404 template in my wordpress theme but that didn't work either, just brought up a blank page cannot be found. Anyone know how to redirect 404 traffic offsite with wordpress? I'd appreciate the help. |
Hi Lenny :)
|
Help a brutha out please
|
stick to submitting galleries..:2 cents:
|
Most themes have a 404 page template. Just modify that template to include a php redirect.
PS Chio says YARGH! |
You may also want to try adding the 404 line in your htaccess page that controls the permalinking
|
In your wordpress template area, create a page called 404.php - do whatever you want in there. That is your 404 page. Since wordpress 2.0.6, it even actually delivers a proper 404 code as well, which is a nice touch.
|
Quote:
I got it figured out, I was trying to do a meta http refresh and that didn't work because it was a php page. Found some php redirect code and that did the trick. Now that this is taken care of I can spend more time waxin me carrot |
Quote:
In any case... YARGH! |
All times are GMT -7. The time now is 07:55 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123