Use these code snippets to make helpful changes to a website’s .htaccess file.
Domain Level Redirect with .htaccess
# This allows you to redirect your entire website to any other domain
Redirect 301 / http://example.com/
Prevent Website Directory Listing
Options -Indexes
Link expired error: Add to .htaccess file
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value max_execution_time 300
php_value max_input_time 300