sniper13g Posted March 10, 2017 Posted March 10, 2017 Hey guys, I'm trying to remove index.php from links but i can't get this working. I'm using wordpress on my main domain and IPS in /forum/ subfolder. It always redirecting me to my wordpress 404 page when I use Rewrite URLs in ACP. My .htaccess file AddHandler application/x-httpd-php71 php # 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 <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> I have no idea how to configure this Other topics with this issue didn't help me.
Management Charles Posted March 10, 2017 Management Posted March 10, 2017 You are overcomplicating this Check out this guide:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.