• Hi there,

    For the website I am designing I have used wordpress to customise my own blog with all my own css, html etc. This means that I have wordpress installed to an arbitary /blog directory, but it is still visible publicly when you simply visit /blog. This is not what I want as I don’t want users to view the blogs via the wordpress site but I do need to be able to access the wordpress admin control panel.
    So what I need to do is: make it so that /blog simply redirects to the wp login page so the only purpose for /blog is to login when you want to manage the blog.

    Thanks for any help you can give.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can put a redirect rule in the .htaccess file that’s in /blog. As far as I understand what you want to do, the following rule should do the trick:

    Redirect /blog/index.php /blog/wp-login.php

    Hope this helps.

    Thread Starter Ollie1700

    (@ollie1700)

    Thanks hostknox, this seems like a nice simple workaround. Could anyone confirm if this is a safe/correct way to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make blog index appear only as login page’ is closed to new replies.