create php forwarder inframe
- No Comments
- Oct, 09, 2012
- Angelo Schalley
- html / php
<HTML>
<HEAD>
<TITLE>domain1</TITLE>
</HEAD>
<FRAMESET ROWS=”*,0″>
<FRAME SRC=”http://domain2/file2.html” NORESIZE>
<NOFRAMES>
Your browser does not support frames.
</NOFRAMES>
</FRAMESET>
</HTML>
Make a php info test file on your webserver
- No Comments
- Mar, 12, 2011
- Angelo Schalley
- html / php, IIS, joomla, Linux, Plesk Linux, Plesk Windows
put a file in your websites root directory or a in some folder :
info.php :
<?php
phpinfo();
?>
save and give execute writes : chmod +x
rewrite domain redirect using htaccess
- No Comments
- Dec, 22, 2010
- Angelo Schalley
- html / php, joomla, Plesk Linux
Fill your .htaccess file and place it in your root directory :
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks#
# mod_rewrite in useRewriteEngine On
########## Redirect van www.domain.be
# redirect some other domains
RewriteCond %{HTTP_HOST} ^domain\.be$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.be$ [NC]
RewriteRule ^(.*)$ http://www.redirectdomain.be/iets.html [R=301,L]
Read more on rewrite domain redirect using htaccess…