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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-04-2012, 04:51 AM   #1
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
Please help with my Wordpress issue!

Im rebuilding an old blog and deleted all the old posts, i have managed to get the old post 404s redirected to the homepage but the 404's caused by the now existant tag links go to a different error page (showing a 404 message and a search box).
My problem is that i just cannot find where this error message is generated or how to override it so that the tag 404s get sent to the homepage.

thanks
__________________
Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
Easily my best performing webcam sponsor - CLICK HERE!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2012, 05:03 AM   #2
hdbuilder
Confirmed User
 
hdbuilder's Avatar
 
Industry Role:
Join Date: Jun 2012
Location: Canada
Posts: 1,338
When you say you have managed to redirect the old posts, did you do it through an htaccess rule? I need more info on this... For the old tags, you can delete them in the tag menu on the left of the admin page, they won't show up anymore. You can redirect them too but since they are in a virtual subfolder /tag/ it is not the same rule as redirecting your posts in your htaccess file. If your 404 page is the same as your theme then it is the default 404 page for wordpress, you can also install a plugin which will redirect your 404 to you home page, google it...
hdbuilder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2012, 05:24 AM   #3
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
yeah, i used a httaccess redirect for the old posts.
I deleted all old tags,posts,pages using a mass-delete plugin.
I have tried a few 404 redirect plugins with seem to work for the deletd posts but none that i have found work for deleted tag urls.
I've even tried removing the 404 page but the tags 404 error message goes to a different place to the posts 404 page.
__________________
Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
Easily my best performing webcam sponsor - CLICK HERE!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2012, 05:28 AM   #4
hdbuilder
Confirmed User
 
hdbuilder's Avatar
 
Industry Role:
Join Date: Jun 2012
Location: Canada
Posts: 1,338
Please post you htaccess rule
hdbuilder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2012, 05:31 AM   #5
hdbuilder
Confirmed User
 
hdbuilder's Avatar
 
Industry Role:
Join Date: Jun 2012
Location: Canada
Posts: 1,338
Have you tried this one, works fine with me, you will have to delete your htaccess rule and clean your cache plugin on your blog and also the cache in your browser to test it.

wordpress(dot)org/extend/plugins/404-redirection/
hdbuilder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2012, 05:35 AM   #6
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Delete the 404.php page in your theme folder, and it should redirect 404 errors to your home page?
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2012, 05:35 AM   #7
hdbuilder
Confirmed User
 
hdbuilder's Avatar
 
Industry Role:
Join Date: Jun 2012
Location: Canada
Posts: 1,338
Also keep in mind that you may have another plugin or function within your theme that handles URL rewriting, and it's conflicting with a 404 plugin. To test it properly, temporarily change the theme to a default...
hdbuilder is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2012, 05:43 AM   #8
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
i've found the error message, it was buried in the archive.php
i've changed the error message to a link to the homepage but ofcause that means the surfer has to click the link to go there.
i tried adding a redirect on that page ( <?php wp_redirect(get_option('siteurl'),301); ?> ) but that didnt work
__________________
Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
Easily my best performing webcam sponsor - CLICK HERE!!
rogueteens is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.