Error in /blog redirection – ubuntu default WP installation


I have installed WP from the Ubuntu repositories (18.04) and the domain I got was something like (notice the blog at the end).

After some tries to perform a new domain redirect (e.g. to redirect to I think I did something wrong and broke the /blog, meaning that redirects to showing the Apache index.php. Nevertheless works just fine.

I checked the browser logs and the /blog page raised a 301 error, thus it was redirected to root.

My htaccess is the following:

<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]

, which I think it is the default for the Ubuntu installation.

Also in wp-admin/ general options, both URLs are set to

Thanks in advance!

, , Manos Tsardoulias 11 months 2020-05-19T03:10:35-05:00 0 Answers 73 views 0

Leave an answer