I have a problem with google bot on some sites. Googlebot fetch always reports DNS not found. is this related with wcms or some setting in config.php.
www.mostofis.com.tr
www.purenturker.com
www.elitenplastik.com
Problem With Google Bot
- Oliver Georgi
- Site Admin
- Posts: 9889
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Problem With Google Bot
DNS is nothing has to do with phpwcms.
Re: Problem With Google Bot
I am using rewrite mod for these sites.
My .htaccess file detail is
is this problem related with .htaccess.
Google Bot find any .phtml file but can't find root
My .htaccess file detail is
Code: Select all
# These settings are recommend
# Maybe you might have problems
# with other scripts that needs
# register_globals ON
# php_flag magic_quotes_gpc Off
# php_flag magic_quotes_runtime Off
# php_flag register_globals Off
#<IfModule mod_rewrite.c>
# Rewrite functionality for phpwcms
# optimized by Jan212
# 18-04-2004
# Check that you have set Options FollowSymLinks
# and right Allow
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# maybe you need this
DirectoryIndex index.html index.php
RewriteBase /
# Default ReWrite settings for phpwcms
# ===============================================
# This will rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6
# This will rewrite mypage.phtml => index.php?mypage
RewriteRule ^(.+)\.phtml$ index.php?$1
# If phpwcms is installed in a subdirectory,
# sample: "mysubdir" then use this (remove #)
# if above lines doesn't work for you
# ===============================================
#RewriteBase /mysubdir
#RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ /mysubdir/index.php?id=$1,$2,$3,$4,$5,$6
#RewriteRule ^(.+)\.phtml$ /mysubdir/index.php?$1
# If you want to set rewrite logging
# ===============================================
#RewriteLog "/absolute/path/to/the/rewrite.log"
# 0 = Logging disabled, 9 = highest level of logging, only for debugging
#RewriteLogLevel 3
#</IfModule>
#Sometimes neccessary to add those
#
#AddType application/x-javascript .js
#AddType text/css .css
Google Bot find any .phtml file but can't find root