Showing posts with label drupal. Show all posts
Showing posts with label drupal. Show all posts

Friday, 29 January 2016

how to make drupal to work only for case sensitive url

Run below query on your drupal database
ALTER TABLE `url_alias` CHANGE `dst` `dstVARCHAR( 128 ) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL

setting up crontab with cpanel drupal

Cron tasks
Many Drupal modules (such as the search functionality) have periodic tasks that must be triggered by a cron job. To activate these tasks, call the cron page by visiting http://www.example.com/cron.php -- this will pass control to the modules and the modules will decide if and what they must do. To call cron.php periodically you need to setup a cron job.
cPanel offers a way to set cronjobs via Server » Cron jobs. Carefully read the instructions on the screen; they may differ from the following example.
To run cron.php every day set the Minute and Hour fields to 0 and the rest of the fields to *. The command to run is:

Thursday, 28 January 2016

how to change created date by node import from bulk update

update `users` set access=1266747689-(7828-uid)*20000 where access like '126674%'

which is the best webhosting for drupal website

Choosing the right webhosting for your website depend of your website requirement.
If you want to setup simple website with vanila drupal and your website does not have much lets
say 100 pay day.Then go for Justhost or bluehost.Which are very cheap your can try hostgator also.
Just host provide you a SSH access,which is beneficail to people comformable with linux commant.
But if you have a large website you can go for linode or e2network in India.Both are good.
Only thing with VPS is you need to manage everything your self .Setting apache and mysql or installing JAVA.
But both are value for money for large website and you can move to different plan as you site load grows.