Geronantimo
Technical User
Is it possible to rewrite the root to a specific page?
I would like the visitor coming to to be automatically taken to
I have tried various things, but they don't work.
The trouble is that all pages within domain.com are being rewritten.
Is it possible to rewrite only the root url?
In other words, can I rewrite
to but still have the page available in the normal way?
I would like the visitor coming to to be automatically taken to
I have tried various things, but they don't work.
Code:
RewriteEngine On
Options +FollowSymlinks
RewriteCond %{HTTP_HOST} ^([URL unfurl="true"]www\.)?domain\.com$[/URL] [NC]
RewriteRule ^ [URL unfurl="true"]http://www.domain.com/new-page.html[/URL] [R=301,L]
The trouble is that all pages within domain.com are being rewritten.
Is it possible to rewrite only the root url?
In other words, can I rewrite
to but still have the page available in the normal way?