My .htaccess redirects are not working.
I want [login to view URL] to redirect to [login to view URL]
The website is in a shared hosting account and it is a located in a folder under the main account.
It is actually at:
[login to view URL]**_web/[login to view URL]**
I have multiple websites under the _web folder. Some are [login to view URL] and some are [login to view URL]
For [login to view URL] I used
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_URI} ^/index\.php$ [NC]
RewriteRule (.*) [login to view URL] [R=301,L]
but it failed.
I need the code for php and html.
Thank You.