Forum Replies Created

Viewing 10 replies - 31 through 40 (of 40 total)
  • Thread Starter kak

    (@kak)

    I’ve tried out something new on another site (same hosting company) .. if you use permalinks on WP but not mod_rewrite on gallery2, the permalinks in WP works fine. But I want them both to work! ??

    Thread Starter kak

    (@kak)

    If I replace the .htaccess (for the site with WPG2 installed) without the WPG2-related stuff inside, permalinks works just fine. But WPG2 doesn’t work of course. So it’s certain that the .htaccess file is read.

    What is it with the WPG2-related stuff in the .htaccess who fuck up the permalinks in WP?

    Thread Starter kak

    (@kak)

    That’s strange. Does anyone else using WP and WPG2 here and have the permalinks working just fine? If so, how is your .htaccess file?

    Thanks in advance!

    I think you should always use the latest security releases! ??

    Thread Starter kak

    (@kak)

    No one have had or have this problem?

    Thread Starter kak

    (@kak)

    This is the .htaccess from the site without WPG2:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [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

    Thread Starter kak

    (@kak)

    This is the .htaccess from the site with WPG2:

    # 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_FILENAME} !/wp-gallery2\.php$
    RewriteRule . – [L]

    RewriteCond %{QUERY_STRING} view=core.DownloadItem
    RewriteCond %{HTTP_REFERER} !://prat.kak.net/ [NC]
    RewriteCond %{HTTP_REFERER} !://blog.kak.net/ [NC]
    RewriteCond %{HTTP_REFERER} !://blog.kak.net/ [NC]
    RewriteCond %{HTTP_REFERER} !://gallery.kak.net/ [NC]
    RewriteCond %{HTTP_REFERER} !^$
    RewriteRule . /wp-gallery2.php? [F,L]

    RewriteCond %{THE_REQUEST} \ /d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/wp-gallery2\.php$
    RewriteRule . /main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]

    RewriteCond %{THE_REQUEST} \ /([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/wp-gallery2\.php$
    RewriteRule . /wp-gallery2.php?g2_view=core.ShowItem&g2_path=%1 [QSA,L]

    </IfModule>

    # END Url Rewrite section

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

    # END WordPress

    After presentation, you have to choose “Theme editor” instead of “Themes” that’s default.

    I’ve got the same problem on my own WP-installation at https://blog.kak.net/. When the WPG2 plugin is installed the permalinks doesn’t work without the “index.php”, but when the WPG2-plugin is not installed, the permalinks works just fine, see here: https://team-adriansen.kak.net/.

    Strange?

    Forum: Your WordPress
    In reply to: blog.kak.net
    Thread Starter kak

    (@kak)

    Thanks for the feedback, Yosemite! ??

Viewing 10 replies - 31 through 40 (of 40 total)