I only removed the first code. I added the other line of code, but commented it out, just in case.
Here is my full htaccess, in case it helps (I commented in a few things, which may not be helpful to others, but I like to remember where I got the code from!):
PHP Code:
RewriteEngine on
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
RewriteBase /
# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
Options -MultiViews
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
# Check MVC result
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [NC,L]
# Removed per https://www.vaultwiki.org/threads/5508/#post14909
# RewriteRule ^(.*)$ - [R=404,L]
# VaultWiki from: https://www.vaultwiki.org/manual/vaultwiki-4-manual/vw4:rewrite-configuration
# If filename is not 'wiki_index', replace WIKI_FILE and uncomment the following line
# RewriteRule ^WIKI_FILE.php wiki_index.php [L,QSA]
# Per https://www.vaultwiki.org/threads/5508/#post14909
# If getting 404 on existing wiki pages, uncomment this line:
# RewriteRule ^(.+)\.php\?r=(.*)$ $1/$2 [QSA]
# If URL format is /wiki/path or replaces a catch-all rule, uncomment the following 3 lines
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)?$ wiki_index.php [L,QSA]
Bookmarks