Jump to content

Remove index.php


sniper13g

Recommended Posts

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 :ermm: Other topics with this issue didn't help me.

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...