WordPress directory URLs, htaccess, mod rewrite etc.
HI all, I have a question about URLs, htaccess, mod rewrite etc.
I have two sites i made recently. Both have all wordpress files in a seperate /wordpress directory. So to get into wp-admin, you need to type in /wordpress/wp-admin, as opposed to just /wp-admin after the url.
One site however still redirects to the admin login when I type in /wp-admin
after the home url.
The other gives me a 404 error, which is ideally what I want.
Im not sure why the other redirects straight to /wordpress/wp-admin login after typing in just “/wp-admin” after “www.website.com.au”
I want it to go to an 404 error page like the other website so that people cant just type in wp-admin. (not many people go as far as to type /wordpress/wp-admin)
I basically created these two sites simultaneously and the behavior is different. I know someone on here will know what this is straight away.
Thanks in advance! 🙂
- The topic ‘WordPress directory URLs, htaccess, mod rewrite etc.’ is closed to new replies.