When I open www.fimos.my, it should redirect me to www.fimos.my/wp/index.php, but I cannot get this to work correctly, this is what my htacess file looks like:
# 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 WordPress
#RewriteCond %{HTTP_HOST} ^maznia\.my$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.maznia\.my$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.fimos\.my$
#RewriteRule ^/?$ "http\:\/\/fimos.my\/wp\/index\.php" [R=301,L]
#FORCE www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^fimos.my [NC]
RewriteRule ^(.*)$ "http://fimos.my/wp/index.php" [L,R=301]
This show the error cannot find the file in cpanel, they direct to link fimos.my/wp/index only.. there aren't to fimos.my/wp/index.php This is my question:
- How to redirect to www.fimos.my/wp/index.php?