Forums

[resolved] New pages no longer working (8 posts)

  1. edwinkort
    Member
    Posted 4 years ago #

    Since a couple of days, I can't show new pages. I've tried several things (changing permalinks, changing .htaccess) but it doesn't work :(

    .htaccess file:

    # BEGIN Url Rewrite section
    # (Automatically generated. Do not edit this section)
    <IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
    RewriteCond %{REQUEST_URI} !/wpg2$
    RewriteRule . - [L]

    RewriteCond %{QUERY_STRING} g2_view=core.DownloadItem
    RewriteCond %{QUERY_STRING} g2_itemId=([0-9]+)
    RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9\+\.\-]+://www.stipvoorstip.nl/ [NC]
    RewriteCond %{HTTP:Referer} !^$
    RewriteRule . /gallery/main.php?g2_view=watermark.DownloadItem&g2_itemId=%1 [L]
    RewriteCond %{THE_REQUEST} /d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
    RewriteCond %{REQUEST_URI} !/wpg2$
    RewriteRule . /gallery/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
    RewriteCond %{THE_REQUEST} /v/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_URI} !/wpg2$
    RewriteRule . /wpg2?g2_path=%1 [QSA,L]
    RewriteCond %{THE_REQUEST} /f/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_URI} !/wpg2$
    RewriteRule . /wpg2?g2_controller=permalinks.Redirect&g2_filename=%1 [QSA,L]
    </IfModule>

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>

    ErrorDocument 404 /index.php?error=404

    <Files index-extra.php>
    SecFilterInheritance Off
    </Files>

    # END Url Rewrite section

    permalink is as follow: /%category%/%postname%/

  2. edwinkort
    Member
    Posted 4 years ago #

    Changed permalinks to: /%year%/%monthnum%/%day%/%category%/%postname%/

    Changed .htaccess to:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond

    # END Url Rewrite section

    Did not work either :(

    (edit: Seems that .htaccess is not updated automagically :( )

    (edit2: in error-log: File does not exist: /home/bookieb/public_html/nordic-walking/ontstaan-nordic-walking/

    The page is created, I can edit it in manage page, but when looking it is not there)

  3. edwinkort
    Member
    Posted 4 years ago #

    Seems like on of the plugins is faulty. When I deactivated them all, I could create (and read) the pages.

  4. edwinkort
    Member
    Posted 4 years ago #

    Found it. I deactivated all the plugins and activated them one by one. The WordPress.com Stats plugin is the one creating this problem. Will notify the creator of it.

  5. Andy Skelton
    Member
    Posted 4 years ago #

    I am the creator of the WordPress.com Stats plugin. Nobody else is seeing this problem. I suspect an incompatibility with your server software "WebServerX" which I found via the HTTP headers of http://www.stipvoorstip.nl/ from your profile here.

    Also, that doesn't look like a WordPress-generated .htaccess file.

    Are you capable of debugging the problem?

  6. edwinkort
    Member
    Posted 4 years ago #

    I'll try and see what we can come up with.

  7. edwinkort
    Member
    Posted 4 years ago #

    I'll give up for now. For the moment I will not use the plugin.

  8. edwinkort
    Member
    Posted 4 years ago #

    It seems WordPress doesn't want to create the .htaccess file.

Topic Closed

This topic has been closed to new replies.

About this Topic