.

.

How to Change site URL By htaccess file

I have to change the url Like its  satihoga.com . I want to change it http://www.satihoga.com/.
then I solve it .Its a wordpress project . & By permalinks & htaccess file I solve it.
By Changing in .htaccess file .
To change wordpress .htacces file in this:

.htaccess file

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


RewriteCond %{HTTP_USER_AGENT} ^-?$

RewriteRule ^ - [F]

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^

RewriteCond %{HTTP_USER_AGENT} ^-?$

RewriteRule ^ - [F]



RewriteEngine on

RewriteCond %{HTTP_REFERER} !^http://www.satihoga.com/
</IfModule>

# END WordPress


And Also change in WP dashboard
Go to settings.
then General & Change the Site url & website address OR url  IN TO  http://www.satihoga.com/


EmoticonEmoticon