.htaccess help – adding a custom directory to www/home directory, override WP
-
Here’s my situation:
1. I want to have a custom page on my wordpress instillation at /checkout.
2. I added a “checkout” folder in my domain.
3. I added index.php in the checkout folder.
4. I want to be able to go to /checkout/step1, /checkout/step2..
5. WordPress sees that page as “not existing”, even though it’s technically not a WordPress post/category – it’s a subfolder in the Home/www directory.
Does anyone know how to tell WordPress to ignore the fact that /checkout/XXX does not exist?
I’m sure it’s a .htaccess issue, but can someone lend me hand?
My first step was to copy my existing .htacess file to /checkout. Here is what is currently in /checkout/.htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>Thanks for the help in advance
- The topic ‘.htaccess help – adding a custom directory to www/home directory, override WP’ is closed to new replies.