admin管理员组

文章数量:1289582

WordPress page/page is not working after moved the file to subdirectory. URL structure domain/subdirectory/post1 is loading as domain/subdirectorypost1 - slash (/) is missing before post/page slug. Home page and Other site assets working fine (i.e., images, css, js) - Only post and pages not loading.

Site .htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /subdomain/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /subdomain/index.php [L]
</IfModule>
# END WordPress

I have updated different permalink and still, it's not working. Also, deactivate all plugins and tested them, still no fix. Someone, please help me to fix it.

本文标签: htaccessSub domain URL slashmissing after domain and before Post amp page slug