Pixelated a phpBB Template by SkaidonDesigns
 
Cheapest Web Software Support Area Forum Index www.cheapestwebsoftware.com
Play with the Best, be the Best!
Special Offer
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Special Offers
Special Offers
Blogs Organizer
Blogs Organizer
Rocket Pinger
Rocket Pinger
Blogs Automater
Blogs Automater

Haven't registered yet? Do it here now!
401 traffic redirecting

 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Organizer
View previous topic :: View next topic  
Author Message
Dutch Harry



Joined: 25 Mar 2007
Posts: 30

PostPosted: Sat Oct 27, 2007 12:54 pm    Post subject: 401 traffic redirecting Reply with quote
Hey Kaktus

After the Lelahost drama i am still restoring my blogs, i have a lot a listings still in yahoo and google that goes 401/404 now.

I have tried to adjust the htaccess to redirect the surfers to the main page of that blog but that doesn't work (ErrorDocument 401 http://www.myblog.com)

Is there a way to adjust the htaccess, because now the surfers gets only a white page to see

Thanks

Her is the whole HTACCES code




H
Code:
ErrorDocument 401 http://www.myblog.com
ErrorDocument 403 http://www.myblog.com
ErrorDocument 404 http://www.myblog.com
ErrorDocument 500 http://www.myblog.com
RewriteEngine On
RewriteRule _([0-9]+).html$ bopost.php?post=$1
RewriteRule ^archives-([0-9]+)-([0-9]+)-([0-9]+)$ archives.php?blog=7&arc=$1-$2-$3
RewriteRule ^pages-([0-9]+)$ pages.php?page=$1
RewriteRule ^sitemap.xml.gz$ googlemap.php
RewriteRule ^sitemap.php$ bositemap.php
RewriteRule ^pic-(.+)$ http://www.myblog.com/bo/boimages/$1
RewriteRule ^cat/(.+)pic-(.+)$ http://www.myblog.com/bo/boimages/$2
RewriteRule ^cat/(.+)$ cat.php?cat=$1
RewriteRule ^xmlrpc.php$ http://http://www.myblog.com/bo/xmlrpc.php
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Sat Oct 27, 2007 4:49 pm    Post subject: Reply with quote
the deal is that the line:
RewriteRule _([0-9]+).html$ bopost.php?post=$1

rewrites the request, so it doesn't generate 404 or other error, but in the db there is no such post, thats why the blank page appears.

you can modify that line like:
RewriteRule _([0-9]+).html$ http://www.myblog.com

but that will make all non existent and existent links redirect. So there is no really useful solution so far.

Just for next version i am planning on making a 404 option, so when the post doesn't exist, the script will redirect to url you specify. I can go ahead and make this mod for you and release, but i can't do it before monday/tuesday, since in some mins i will be going to a travel for 2 days.
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
Dutch Harry



Joined: 25 Mar 2007
Posts: 30

PostPosted: Sun Oct 28, 2007 9:53 am    Post subject: Reply with quote
Thanks Kaktus

I am not going to follow this any longer then, to bad for the listings but i like to keep all my links intact

Greets

H
Back to top
View user's profile Send private message

Author Message
switch54



Joined: 21 May 2009
Posts: 7

PostPosted: Fri Jul 10, 2009 1:25 pm    Post subject: Reply with quote
Atanasis wrote:

Just for next version i am planning on making a 404 option, so when the post doesn't exist, the script will redirect to url you specify. I can go ahead and make this mod for you and release, but i can't do it before monday/tuesday, since in some mins i will be going to a travel for 2 days.



is there any solution on this one? i know its an old post, but thats why i hope i just missed it in bo. or if you still have that mod... Smile i have a few old sites restarting here, and the indexed pages shouldnt loose their hits imo

ps. sorry to disturb while on holiday Razz
Back to top
View user's profile Send private message

Display posts from previous:   
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Organizer All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group