Category: Linux Server
-
How to Change PHP Version for Current Directory – Godaddy – Linux Hosting
So, I recently had a special case where my client was using older version of php in his godaddy hosting and didn’t want to upgrade. But for the current project I needed to enable php 5.4. I couldn’t use godaddy control panel to change/upgrade php version because that would change the php version for whole […]
-
Permanently (301) Redirect Old Domain URL to New Domain URL Using .htaccess – Linux Server
[php] # BEGIN WordPress RewriteEngine On RewriteCond %{HTTP_HOST} ^oldsite.com RewriteRule (.*) http://newsite.com/$1 [R=301,L] # END WordPress [/php] Make sure to change url for oldesite.com and newsite.com