Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Minh Tran

    (@golddragon)

    It worked.
    Thank you so much ??

    Thread Starter Minh Tran

    (@golddragon)

    my main web where is Wordfence installed, I have file .htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    # Wordfence WAF
    <IfModule mod_php5.c>
    	php_value auto_prepend_file '/var/www/oss/students/wordfence-waf.php'
    </IfModule>
    <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>
    
    php_value upload_max_filesize 128M
    php_value post_max_size 128M
    php_value max_execution_time 300
    php_value max_input_time 300
    
    # END Wordfence WAF

    There is no file .user.ini

    Thread Starter Minh Tran

    (@golddragon)

    My files:
    – .htaccess:

    ErrorDocument 404 "[404 error] If you're seeing this error after install, check this FAQ for the fix: https://sendy.co/troubleshooting#404-error"
    
    Options +FollowSymLinks
    Options -Multiviews
    
    RewriteEngine On
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteRule ^([a-zA-Z0-9-]+)$ $1.php [L]
    
    # Link tracker
    RewriteRule ^l/([a-zA-Z0-9/]+)$ l.php?i=$1 [L]
    
    # Open tracker
    RewriteRule ^t/([a-zA-Z0-9/]+)$ t.php?i=$1 [L]
    
    # Web version
    RewriteRule ^w/([a-zA-Z0-9/]+)$ w.php?i=$1 [L]
    
    # unsubscribe
    RewriteRule ^unsubscribe/(.*)$ unsubscribe.php?i=$1 [L]
    
    # subscribe
    RewriteRule ^subscribe/(.*)$ subscribe.php?i=$1 [L]

    – .user.ini
    auto_prepend_file = none
    Sorry, I’m not familiar this much. Is it correct ?

Viewing 3 replies - 1 through 3 (of 3 total)