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!
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
redhorsemountain
Member
Posted 2 years ago #
Posting now to check...Had one, but maybe its old....
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
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.
redhorsemountain
Member
Posted 2 years ago #
probably just confused the hec out of the .htacces
try re saving your permalinks
admin - settings - permalinks
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%"??
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.
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!