WordPress.org

Ready to get started?Download WordPress

Forums

wp duplicating blog page all over my site (3 posts)

  1. daddyg
    Member
    Posted 8 years ago #

    Hi,

    I've got my wp blog installed at
    http://www.GolfBettingGuide.com/blog/

    and I've just noticed from my web visitor stats that the blog homepage has duplicated itself on weird urls like:-

    http://golfbettingguide.com/content/content/content/exchange-betting-guide.php
    http://golfbettingguide.com/sitemap/content/us-pga-tour-schedule-2006.php

    I do have the directories http://www.golfbettingguide.com/content
    http://www.golfbettingguide.com/sitepap

    but those subdirectories don't exist.

    Does anyone know what might be causing this...I'm stumped :-(

    Thanks for any help you can provide

  2. daddyg
    Member
    Posted 8 years ago #

    Thinking about this some more, it must be related to my .htaccess file I think. I did amend it a couple of weeks ago when I was trying to install and set up the wp feedburner plug in. Anyway, this is what my .htaccess file looks like:-

    RemoveHandler .html .htm
    AddType application/x-httpd-php .php .htm .html .phtml

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    Does this look ok? Could the mod_rewrite rule be causing this do you think?

    Thanks for any help

  3. daddyg
    Member
    Posted 8 years ago #

    All sorted!

    I had a mod_rewrite rule in the .htaccess file at
    GolfBettingGuide.com aswell as in the .htaccess file at
    GolfBettingGuide.com/blog

Topic Closed

This topic has been closed to new replies.

About this Topic