How to Code an .htaccess Redirect Without Changing the Address Bar


I would like redirect:
without change adress bar.

My attempt is displayed in the code below:

    RewriteEngine on
    # Use PHP5.4 as default
    AddHandler application/x-httpd-php54 .php
    RewriteCond %{HTTP_HOST} ^$ [OR]
    RewriteCond %{HTTP_HOST} ^$
    RewriteRule ^/?$ "" [L]

Source: .htaccess

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.