i have a site where the main blog page is not on the homepage, instead i had it on a subpage mysite.com/domain-blog/
today i realized in the general settings that i had both:
homepage: mysite.com
blog address: mysite.com
so i wanted to change the blog address to the blogs homepage.
now take a breath ..
I also wanted to shorten my blogs homepage from mysite.com/domain-blog down to mysite.com/blog
now i updated my blog address in general settings, and I am encountering a problem, that i dont understand.
now when i go to my blog page, the url is mysite.com/blog/domain-blog
when i try to edit a page on the backend, or add a new page, it appears as mysite.com/blog/blog or mysite.com/blog/new-page
also the homepage link now goes to mysite.com/blog (it should just go to mysite.com)
i thought to update permalinks, and when i go to that page i see in the bottom, i see the following:
If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
however my .htaccess is writable (644, as recommended by wordpress.org) and even still i tried using that code and then the site returned internal server errors (500s). the only difference in this above code and what was already in my .htaccess file was RewriteRule . /blog/index.php [L] .... this is clearly wrong as you can see, the /blog/ should not be there in front of the index.php (so why is wordpress suggesting this?)
i am confused as to how to resolve this