How Redirecting non-www to www in wordpress without using .htaccess?

Hello Everyone! I am here now just going to tell you all a simple way for redirect your wordpress website from non www(http://yourdomain.com) to www((http://www.yourdomain.com)) URL  OR  www(http://www.yourdomain.com) url to non-www((http://yourdomain.com)) URL. WordPress will 301 redirect your domain to the version (www or non-www) located in the Settings->General. Here you have just need to change …

How remove 'index.php' from URL with .htaccess?

Hello Everyone! If you want remove the index file name like index.php , index,html etc from the site url(http://raghunathgurjar.wordpress.com/index.php) then this post will be very helpful for solve your problem. URL Before Changes :- For that you have just need to add given code in your .htaccess file //code RewriteRule ^(.*)index\.(htm|html|php)$ http://%{HTTP_HOST}/$1 [R=301,L] URL After …

How handle OR save session in external file in drupal?

Hello Everyone! If you are facing problem in session handling(external file) in your drupal website, then don’t worry now because i am here sharing you a small but important information for you. Please include these files and variable at top of your external files given in below: //code require_once ‘./includes/bootstrap.inc’; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); // This makes all …