Forum Replies Created

Viewing 15 replies - 1 through 15 (of 64 total)
  • Thread Starter bmontgomery

    (@bmontgomery)

    Hello Peter, did you receive the report I sent you ?

    Could you please tell me what I can do now because I’m still stuck with this issue…

    Thanks for your help.

    Thread Starter bmontgomery

    (@bmontgomery)

    Hello Peter,

    Sorry for the delay in my answer.

    I just send you the report.

    I hope you’ll be able to help me solve this issue… Thanks.

    Thread Starter bmontgomery

    (@bmontgomery)

    Thanks Peter,

    It seems that these lines are already inside my .htaccess, but at the end of the file.

    Here’s my .htaccess file :

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/?\.user\.ini$
    RewriteRule .* - [F,L,NC]
    </IfModule>
    <IfModule !mod_rewrite.c>
    <Files ".user.ini">
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>
    </IfModule>
    # BEGIN WpFastestCache
    # Modified Time: 06-07-23 17:56:34
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} =on
    RewriteCond %{HTTP_HOST} ^mysite.fr
    # Start WPFC Exclude
    # End WPFC Exclude
    # Start_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=admin1|admin2
    # End_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP_HOST} ^mysite.fr
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
    RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{REQUEST_URI} !(\/){2,}
    RewriteCond %{THE_REQUEST} !(\/){2,}
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in
    RewriteCond %{HTTP:Cookie} !comment_author_
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /var/www/html/sites/mysite/public_html/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
    </IfModule>
    <FilesMatch "index\.(html|htm)$">
    AddDefaultCharset UTF-8
    <ifModule mod_headers.c>
    FileETag None
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
    </ifModule>
    </FilesMatch>
    # END WpFastestCache

    # BEGIN LBCWpFastestCache
    <FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|avif|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|otf|ttf|svg|eot)(\.gz)?$">
    <IfModule mod_expires.c>
    AddType application/font-woff2 .woff2
    AddType application/x-font-opentype .otf
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType video/webm A10368000
    ExpiresByType video/ogg A10368000
    ExpiresByType video/mp4 A10368000
    ExpiresByType image/avif A10368000
    ExpiresByType image/webp A10368000
    ExpiresByType image/gif A10368000
    ExpiresByType image/png A10368000
    ExpiresByType image/jpg A10368000
    ExpiresByType image/jpeg A10368000
    ExpiresByType image/ico A10368000
    ExpiresByType image/svg+xml A10368000
    ExpiresByType text/css A10368000
    ExpiresByType text/javascript A10368000
    ExpiresByType application/javascript A10368000
    ExpiresByType application/x-javascript A10368000
    ExpiresByType application/font-woff2 A10368000
    ExpiresByType application/x-font-opentype A10368000
    ExpiresByType application/x-font-truetype A10368000
    </IfModule>
    <IfModule mod_headers.c>
    Header set Expires "max-age=A10368000, public"
    Header unset ETag
    Header set Connection keep-alive
    FileETag None
    </IfModule>
    </FilesMatch>
    # END LBCWpFastestCache
    # This file was updated by Duplicator on 2023-07-04 14:59:51.
    # See the original_files_ folder for the original source_site_htaccess file.
    # BEGIN WordPress
    # Les directives (lignes) entre ??BEGIN WordPress?? et ??END WordPress?? sont générées
    # dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
    # Toute modification des directives situées entre ces marqueurs sera surchargée.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    # Wordfence WAF
    <Files ".user.ini">
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order deny,allow
    Deny from all
    </IfModule>
    </Files>

    # END Wordfence WAF

    Any idea why it’s not working ?

    Thread Starter bmontgomery

    (@bmontgomery)

    Thanks for your help.

    Resetting the filter solved the issue.

    Regards,

    Thread Starter bmontgomery

    (@bmontgomery)

    I would be glad to test it but it’s a paid plugin. That’s why I’d like to be sure before I buy it…

    Thread Starter bmontgomery

    (@bmontgomery)

    I don’t understand… I can see “Members – Membership & User Role Editor Plugin” so the word “membership” is there. How is it possible that it doesn’t support membership ??

    Thread Starter bmontgomery

    (@bmontgomery)

    Anyone willing to help ?
    I’m still struggling with WP Cassify…
    Thanks

    Thread Starter bmontgomery

    (@bmontgomery)

    Is there a way to give you the link privately ?

    Thread Starter bmontgomery

    (@bmontgomery)

    Finally I found out that it’s due to wp_list_pages which is not retrieving some page titles…
    And I don’t know why.
    I’ve been googling and it seems other people got the same issue but I couldn’t find a fix.

    Any idea of what might be happening ?

    Thread Starter bmontgomery

    (@bmontgomery)

    Hello, any idea of what may be happening ?

    Thread Starter bmontgomery

    (@bmontgomery)

    Stupid of me…
    I was checking the wordpress htaccess and didn’t check what I had added below (a list of redirects to handle URLs changes).
    In this list, I was redirecteing /network1.

    So it’s not a wordpress multistes issue, but an error from me.
    Sorry for bothering and thanks for taking the time to answer me.

    Thread Starter bmontgomery

    (@bmontgomery)

    Also, I tried to duplicate this page and rename it for something like “who we are” and each time I try to load the new page, it redirects to the first URL…
    There’s really something weird happening

    Thread Starter bmontgomery

    (@bmontgomery)

    Thanks for your help.
    Here’s my .htaccess file :

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    When you say “in the sites admin panel there is no longer a “/network1” sub-site entry”, what are you referring to ? Where exactly should I look at ?

    Thanks a lot.

    Thread Starter bmontgomery

    (@bmontgomery)

    I didn’t change htaccess file when switching to domain based network, I just edited the sites settings and followed other steps that I found here :
    https://premium.wpmudev.org/blog/domain-mapping-wordpress-multisite/

    But then I went into each site of the network and rebuilt the permalinks.

    How can I check if my htaccess is ok ?
    I had a look at it and couldnt find anything related to “network1” string.

    Forum: Fixing WordPress
    In reply to: WordPress speed
    Thread Starter bmontgomery

    (@bmontgomery)

    Thanks a lot for your help, I will try all these things and use the plugin you mentioned.

Viewing 15 replies - 1 through 15 (of 64 total)