PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
persona_non_grata



Joined:
Posts: 0

PostPosted: Sat Mar 18, 2006 7:31 am Reply with quote Back to top

ok here's the story

im getting 404 mails that googlebot is getting the wrong pages.

im using the cpanel guide rewrite that raven posted in a forum somewhere .
but im getting mails and for some weird reason googlebot looks for Forwarders.html instead of cpaneluserguide-Forwarders.html

so in 99% the prefix cpaneluserguide- is missing.
and also it shows htm instead of html.

what i dont get is why the rewrite seems to be ok but google forgets the prefix.

Anyone?
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4821

PostPosted: Sat Mar 18, 2006 7:44 am Reply with quote Back to top

Without seeing the actual re-write thats a tough one.
Has google indexed old pages prior to using the tap?
View user's profile Send private message Send e-mail Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Sat Mar 18, 2006 8:06 am Reply with quote Back to top

no ,i dont have any old pages...lol
before the rewrite it was just the original php

the codes.....

Code:


#Cpanel user guide
RewriteRule ^cpaneluserguide-([[:alnum:]]*).html cpaneluserguide.html&page=$1\.htm [L]
RewriteRule ^cpaneluserguide.html cpaneluserguide.html [L]

and this is GT-CPanel_User_Guide.php

<?php

$urlin = array(
"'(?<!/)modules.php\?name=CPanel_User_Guide&amp;page=([[:alnum:]]*)\.htm'",
"'(?<!/)modules.php\?name=CPanel_User_Guide'",
);

$urlout = array(
"cpaneluserguide-\\1.html",
"cpaneluserguide.html",
);

?>
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Sun Mar 19, 2006 6:17 am Reply with quote Back to top

anyone?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Sun Mar 19, 2006 7:35 am Reply with quote Back to top

Here is what I use on my site
Code:

(IN)
"'(?<!/)modules.php\?name=CPanel_User_Guide&amp;page=([[:alnum:]]*)\.htm'",
"'(?<!/)modules.php\?name=CPanel_User_Guide'",

(OUT)
"cpaneluserguide-\\1.html",
"cpaneluserguide.html",


#cPanel User Guide
RewriteRule ^cpaneluserguide-([[:alnum:]_-]*).html cpaneluserguide.html&page=$1\.htm [L]
RewriteRule ^cpaneluserguide.html cpaneluserguide.html [L]
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Sun Mar 19, 2006 8:15 am Reply with quote Back to top

hi raven, yes they are the same cause i use yours like you published in a topic some time ago,so thats why i cant understand where the googlebot gets the wrong link from.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Sun Mar 19, 2006 8:18 am Reply with quote Back to top

They aren't the same Smile

You have
RewriteRule ^cpaneluserguide-([[:alnum:]]*).html cpaneluserguide.html&page=$1\.htm [L]

and I have
RewriteRule ^cpaneluserguide-([[:alnum:]_-]*).html cpaneluserguide.html&page=$1\.htm [L]
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Sun Mar 19, 2006 8:24 am Reply with quote Back to top

oh nice....didnt saw that.. Bang Head
but then you changed it at some point....lol,i must have missed that somewhere..

thanks raven..
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Sun Mar 19, 2006 8:40 am Reply with quote Back to top

If I remember right, the new cpaneluserguide was updated recently and that caused me to have to change my rules Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Sun Mar 19, 2006 8:47 am Reply with quote Back to top

New?
i just got googlebot again looking for searchEngineSubmit.htm and webFTPstats.htm
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15210
Location: Kansas

PostPosted: Sun Mar 19, 2006 8:49 am Reply with quote Back to top

persona_non_grata wrote:
New?
i just got googlebot again looking for searchEngineSubmit.htm and webFTPstats.htm

I don't know what that means ???
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Sun Mar 19, 2006 9:08 am Reply with quote Back to top

just now googlebot looked for..
removingAnonymousFTPaccess.htm but i'll wait and see how it goes...
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum