htaccess redirect problem
Posted
by
jimbo
on Pro Webmasters
See other posts from Pro Webmasters
or by jimbo
Published on 2011-02-21T16:46:08Z
Indexed on
2011/02/21
23:34 UTC
Read the original article
Hit count: 425
Hi all,
I am currently building a site and want to hide all development work on the site. I am using a htaccess file and redirecting to my holding page index.php?id=7:
Options +FollowSymlinks
RewriteCond %{REQUEST_URI} !/index.php
RewriteCond %{REQUEST_URI} !/assets/
RewriteRule $ /index.php?id=7 [R=307,L]
This is working for pretty much all pages, but, changing index.php?id=7 to another number id=6 for example still shows the page with no redirect.
Any help welcome...
© Pro Webmasters or respective owner