infemity
Member
Posted 3 months ago #
Hello,
The problem: Post title permalinks not working...they link back to main site.
WordPress URl is: http://warwickfa.com/blog
Site address (URL) is: http://warwickfa.com
Permalinks set to default.
.htaccess says:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
index.php says:
require('./wp-blog-header.php');
Any thoughts?
Thx!
-FF
infemity
Member
Posted 3 months ago #
Thanks, I read through that and tried some things before posting here. This is not my area of expertise...
I tried changing the index.php to require('.blog/wp-blog-header.php');
and tried changing permalinks to include /blog/index.php/
Where am i going wrong?
infemity
Member
Posted 3 months ago #
I'm on Linux with Apache rewrite thing enabled. I made sure my .htaccess files permissions are 666.
When I set permalinks on default, the blog homepage works but permalinks do not.
When I change my permalinks to /blog/%year%/%monthnum%/%day%/%postname%/ the permalinks work...but then my blog homepage can't be found.
Can someone help?
infemity
Member
Posted 3 months ago #
I've also put a copy of .htaccess in my main site directory.
infemity
Member
Posted 3 months ago #
so i changed my site url to http://warwickfa.com/blog and obviously it works when like this...but i was hoping to be able to have the 'home' button link back to my website main page. consider this closed.