Forums

[resolved] Non-Root Home with /blog as the Blog, getting access denied (10 posts)

  1. redhorsemountain
    Member
    Posted 2 years ago #

    Need some help. I have a static home page on our site, wordpress is in the root folder. I am trying to build the blog page as mysite/blog in the permalink structure. I have created a blog template in the theme folder and pointed the blog in the reading settings to the /blog page. The general settings show the blog url at mysite/blog

    I'm getting an access denied and not sure why? When I go back to the page in edit, the address for the page shows up as /mysite/blog which should give access to the page. the page is listed as published and available to the public. Help!

    site: http://www.redhorsemountain.com
    blog: http://www.redhorsemountain.com/blog

    I have also noticed that the page exists with the shortlink. Its popping up at http://www.redhorsemountain.com/?page_id=423

    thanks for any responses!

  2. Will White
    Member
    Posted 2 years ago #

    Do you have a page made that is titled "blog" and your "reading" setting set so that "blog" is the "posts page"? If so, I've also found it does that if you don't have any posts made yet.

    There are a couple other causes too - check out http://www.checkupdown.com/status/E403.html

  3. redhorsemountain
    Member
    Posted 2 years ago #

    Posting now to check...Had one, but maybe its old....

  4. Samuel B
    moderator
    Posted 2 years ago #

    The general settings show the blog url at mysite/blog

    you need both url's set to your root site for it to work
    the way you have it now is looking for a folder/blog which doesn't exist - hence the 403
    /blog is actually just a page from your root
    when you make this change you will then be able to access blog at
    http://www.redhorsemountain.com/blog

  5. redhorsemountain
    Member
    Posted 2 years ago #

    that makes sense. Changing the blog url in the general setting to http://www.example.com, gives me the correct address in the links, but for some reason gives the 403 error.

    This might be a key item I just noticed. When I made a new post, the permalink address shows this htt://mysite/http://mysite/blog

    Not sure why this would happen either.

  6. redhorsemountain
    Member
    Posted 2 years ago #

    this address for the new post is here:
    http://www.redhorsemountain.com/http:/www.RedHorseMountain.com/wine-tasting-week-special

    why it works, I have no idea.

  7. Samuel B
    moderator
    Posted 2 years ago #

    probably just confused the hec out of the .htacces
    try re saving your permalinks
    admin - settings - permalinks

  8. redhorsemountain
    Member
    Posted 2 years ago #

    Whats the chance this is causing the problem, my permalinks.

    custom structure is "/http:/www.RedHorseMountain.com/%postname%"

    Should it just be "%postname%"??

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Whats the chance this is causing the problem, my permalinks.
    custom structure is "/http:/www.RedHorseMountain.com/%postname%"

    Oh - about 99.9% at a rough guess. :-)

    Should it just be "%postname%"??

    /%postname%/ - although I'd recommend that you read Using_Permalinks first.

  10. redhorsemountain
    Member
    Posted 2 years ago #

    Just to complete the post. The final issue was a remnant directory called /blog in the directory tree. Up and working. Thanks for all your help!

Topic Closed

This topic has been closed to new replies.

About this Topic