Hello everyone,
I'm new to WordPress, I only started one for my own needs.
My website - innestudio.eu - has URIs without trailing slash.
WP files are placed in 'wp' dir and there are rewrites (in htaccess) so the blog is seen on innestudio.pl/blog
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^blog$ wp/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^blog/(.+)$ wp/index.php [L]
There is just a problem with the blog's main page. mod_rewrite redirects 'blog/' to 'blog' as all other URIs in the whole site which are not dirs.
RewriteCond %{REQUEST_URI} (.*)/$
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)/$ /$1 [R=301,QSA,L]
But then again php of WP redirects it 'blog' back to 'blog/' and too many redirects error appears.
All other blog pages work corretly, i.e. http://innestudio.eu/blog/2010
Can you help me how to tell WP: "Your main page is in 'innestudio.eu/blog'. don't redirect it to 'innestudio.eu/blog/'"?
I would like it to be without the slash in the end like all other pages in the site.
Best regards,
Marcin