2

问候我有这个网站的问题http://artwoodflooring.co.uk/。由于某些原因,我无法索引页面,如果我尝试访问http://artwoodflooring.co.uk/home,它会与域/主机页面一起返回。在我花了 3 4 小时后,我查看了互联网上的一些教程,并将 .htaccess 从AddHandler x-mapp-php5 .php3 .php4 .php .phtml 到 `

<IfModule mod_rewrite.c>
  RewriteEngine On

  ## uncomment the following line, if you are having trouble
  ## getting no_script_name to work
  #RewriteBase /

  ## remove trailing slash
  #RewriteCond %{REQUEST_FILENAME} !-d
  #RewriteCond %{REQUEST_URI} ^(.+)/$
  #RewriteRule ^(.+)/$  $1 [R=301,L]

  ## turn off index.html, it is for offline mode
  RewriteRule ^.*index.html$ index.php [QSA]

  ## no, so we redirect to our front web controller
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

` 现在它返回 500 Internal server error 为什么?我能做些什么来避免这件事并将这些页面编入索引,以便谷歌可以看到这些页面?这些页面是一种脚本吗?管理面板上有一个选项不要索引页面,但没有选择Best Regards Titus

4

0 回答 0