WordPress.org

Ready to get started?Download WordPress

Forums

Problem with Google Indexing (1 post)

  1. Benjimester
    Member
    Posted 3 years ago #

    So I've been having a lot of problems configuring WordPress on a windows server on Godaddy. At first my .htaccess file wouldn't work with the "pretty permalinks" I was using under IIS7. I guess IIS doesn't support mod_rewrite. But from the directions at the WordPress Codex, I created a web.config file and added a custom snippet of code in the system.WebServer element that helped force the redirect. Everything seems to be working fine.

    The only problem that I'm having now is that Google doesn't seem to be indexing the blog properly. When I type in site:www.myblog.com into Google, it brings up all of the pages on the blog, but when I click on the cached link, I get a blank screen with an error on a lot of the pages. Don't know what in the world to do. The code that I put into the system.WebServer element is this:

    <rewrite>
    <rules>
    <rule name="Main Rule" stopProcessing="true">
    <match url=".*" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    </conditions>
    <action type="Rewrite" url="index.php/{R:0}" />
    </rule>
    </rules>
    </rewrite>

    Is this code causing my problem or do you think it's something else? This problem is beyond me unfortunately. Thanks anyone and everyone for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic