Everything redirects to the main directory !?!?
-
Greetings,
How can I keep everything that’s mis-typed from going to my site’s default page? Here’s my .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Essentially, I want to be able to make myself a 404 page and have it work, as well as keep from having every single url come up as valid on the site. It doesn’t even redirect when you go to /whateveryouwant — it just renders the /index.php while keeping /whateveryouwant in the URL bar.
What am I missing?
Thanks in advance,
-Daniel (dmiessler.com/thispagedoesntexist)
- The topic ‘Everything redirects to the main directory !?!?’ is closed to new replies.