|
Haven't registered yet? Do it here now!
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Mon Feb 25, 2008 10:31 pm Post subject: index.php and in.shtml and ping ? |
|
|
|
|
|
|
|
|
|
|
Ok i got a script which is working with SSH at
http://www.mysite.com/index.shtml
I got BO running a blog at http://www.mysite.com/index.php
If i go to http://www.mysite.com/ it serves me the .shtml page first
(my httpd.config order must be index.html,index.htm,index.shtml,index.php etc..)
So my point is, when BO sends the ping request ? Which one is sent to the SE bot ? the main page or the post page ex: http://www.mysite.com/mythemwithmykeywords.htm
You see, i don't want the SE to go to index.shtml in a way, surfers too in fact !
Also, i had to play with my .htaccess because of the other script
Code: | options all
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule services /cgi-bin/mysite.pl [L]
RewriteRule _([0-9]+).html$ bopost.php?post=$1
RewriteRule ^archives-([0-9]+)-([0-9]+)-([0-9]+)$ archives.php?blog=147&arc=$1-$2-$3
RewriteRule ^pages-([0-9]+)$ pages.php?page=$1
RewriteRule ^sitemap.xml.gz$ googlemap.php
RewriteRule ^mysite.php$ bositemap.php
RewriteRule ^pic-(.+)$ http://www.mysite.com/bo/boimages/$1
RewriteRule ^cat/(.+)pic-(.+)$ http://www.mysite.com/bo/boimages/$2
RewriteRule ^cat/(.+)$ cat.php?cat=$1
RewriteRule ^xmlrpc.php$ http://www.mysite.com/bo/xmlrpc.php |
By the way, how was your exams ? |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Mon Feb 25, 2008 10:36 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
i did fine with the exams, passed them all
well, BO pings with the blog url like http://www.blog.com/
it doesn't put /index.php or something. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Tue Feb 26, 2008 3:41 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Oh damn so it means it will pick up my index.shtml as it's the page that is served first (after index.html and index.htm)? The page i don't want surfers and SE to pick up/see ? Correct me if i'm wrong.
If it is, then do you think that changing the order of the pages, what's being served in my httpd.config file will help ?
Thanks
Oh yeah, i will give a shot a your trade script on some new projects of mine.
Cheers |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 26, 2008 4:05 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, yes, probably that will be served. And yes, if you change the order by putting index.php first in your apache conf should help. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
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
|
|
|
|
| |