Posted March 10, 20178 yr 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.
Archived
This topic is now archived and is closed to further replies.