How to write .htaccess code for subdomain?
-
Dear friends,
I just installed a new wordpress using subdomain.
The problem occurred while setting “Permalink Settings“
I chose Custom Structure and set it as /%postname%/
Also never forgot to write the .htaccess file as the detail below.# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressThe problem is it could not be done with subdomain, the main page was OK but other page I got Error 404.
Can someone please help me “How to write the .htaccess file for the subdomain?“
I am really appreciated with your kind support.
Regards,
UPhichet
- The topic ‘How to write .htaccess code for subdomain?’ is closed to new replies.