WordPress directory URLs, htaccess, mod rewrite etc.

  • Author
  • #987068


    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! :)



    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

The topic ‘WordPress directory URLs, htaccess, mod rewrite etc.’ is closed to new replies.