Problem With Google Bot

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
zinedde
Posts: 4
Joined: Thu 5. May 2011, 13:01

Problem With Google Bot

Post by zinedde »

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
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Problem With Google Bot

Post by Oliver Georgi »

DNS is nothing has to do with phpwcms.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
zinedde
Posts: 4
Joined: Thu 5. May 2011, 13:01

Re: Problem With Google Bot

Post by zinedde »

I am using rewrite mod for these sites.

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
is this problem related with .htaccess.

Google Bot find any .phtml file but can't find root
Post Reply