Wordpress 404s

Discussion in 'WordPress' started by jackslounge, Mar 11, 2008.

  1. #1
    Hi all,

    I am getting a lot of 404 errors in my new blog at jackmcintyre.net.

    I think the problem is to do with htaccess:
    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    
    RewriteBase /
    
    RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
    
    RewriteRule . - [L]
    
    </IfModule> 
    
    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    
    RewriteBase /
    
    RewriteCond %{REQUEST_FILENAME} !-f
    
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteRule . /index.php [L]
    
    </IfModule>
    
    
    
    # END WordPress
    
    Code (markup):
    Is there any problem there?

    The weird thing is that I cannot reproduce the error, but somehow, other users are landing on pages with index.php on the end of the url. So if someone should go to xyz.com/abc/def, they are actually going to xyz.com/abc/def/index.php, which shows a 404.

    It may be due to moving my site from a subfolder to root.

    Any tips?
     
    jackslounge, Mar 11, 2008 IP
  2. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try removing that HTACCESS file and re-uploading a standard one from a fresh install..see if that works!
     
    Pixelrage, Mar 11, 2008 IP
  3. jackslounge

    jackslounge Peon

    Messages:
    434
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The wordpress section looks the same as the default one. Is there anything in the top one that could be causing a problem?

    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    
    RewriteBase /
    
    RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
    
    RewriteRule . - [L]
    
    </IfModule> 
    Code (markup):
    I should also clarify - the urls are showing up in google analytics, maybe it is just a problem with analytics and wordpress?
     
    jackslounge, Mar 11, 2008 IP
  4. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #4
    it appears to be in order....have you upgraded recently, or changed the permalink structure?
     
    Pixelrage, Mar 11, 2008 IP
  5. jackslounge

    jackslounge Peon

    Messages:
    434
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    the whole blog is new, I'm just seeing these pages in google analytics that do not exist.

    I just changed to a different wordpress google analytics plugin to see if that was the issue, but I doubt it.
     
    jackslounge, Mar 11, 2008 IP
  6. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Pixelrage, Mar 12, 2008 IP