Redirect Everything Except Root Page with .htaccess

Recently, I moved my website to a different domain. For good SEO, we should redirect everything, including path to a new domain.

However, due to some reason, I need to maintain the root (index page) page, but I can redirect all other URL from the old to a new domain.

To do this, I have to edit the .htaccess file in the root domain & add the following code. Remember to replace “yourolddomain” & “yournewdomain” with your domain name before using it.

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^(www\.)?yourolddomain\.com$ [NC]
RewriteRule ^.+${REQUEST_URI} [L,R=301]

How to Change Google Map Type in phpMyDirectory

To change Google Map Type in listing details of phpMyDirectory from the default “ROADMAP” is very easy. You only to edit “/includes/class_map.php” file.

Find the following


Replace it with any of 4 options below, depending on your map selection.

  1. MapTypeId.ROADMAP – displays the default road map view. This is the default map type.
  2. MapTypeId.SATELLITE – displays Google Earth satellite images
  3. MapTypeId.HYBRID – displays a mixture of normal and satellite views
  4. MapTypeId.TERRAIN – displays a physical map based on terrain information.

Page 20 of 53« First...10...1819202122...304050...Last »