2
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by muralikalpana
0
RewriteEngine on

RewriteCond %{HTTP_HOST} ^www.yoursitename.com [NC]
rewritebase /

RewriteRule ^$ index.php [L]
RewriteRule ^index index.php [L]
RewriteRule ^aboutus  aboutus.php [L]

Edited by muralikalpana: n/a

0

last post save as .htaccess and next define below code in config page

$Site_URL = "http://yoursitename/";

define('SITE_URL',$Site_URL);

call now page like this

<a href="<?=SITE_URL?>aboutus">aboutus</a>

Edited by muralikalpana: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.