Use WordPress ONLY in sub-directory
-
Hi! I’ve found a lot of support questions about how to have two different WordPress set-ups on one domain but what I’m trying to do is a little different.
I only want to use WordPress in my sub-directory (www.quinnluu.com/blog).
I’ve coded my other pages, including index.php. I only want to use WP for blogging purposes, meaning WordPress is only used when people go to https://www.quinnluu.com/blog.My .htcaccess looks like this (to remove .php from my urls):
“RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]”I’ve installed WP to quinnluu.com/blog, but when I try to log in at quinnluu.com/blog/wp-admin, I get a 404. I’m wondering if this is because something is missing in my htcaccess?
Please let me know your thoughts and if I can clarify on anything!
Thank you!
- The topic ‘Use WordPress ONLY in sub-directory’ is closed to new replies.