Tag Archives: server side
.htaccess redirect to a new domain
I post this little snippet because isn’t easy for me to found it. Here is. [plain]RewriteEngine on RewriteCond %{HTTP_HOST} ^([^.:]+\.)*oldwebsite\.com\.?(:[0-9]*)?$ [NC] RewriteRule ^(.*)$ http://www.preferredwebsite.net/$1 [R=301,L][/plain] Thanks Wikipedia!
Ajax logins: why?
I’m starting this new blog with this little suggestion: avoid ajax logins. Ajax it’s really cool and handy, I know, but for a login page only can be useful in very particular cases. In the rest, only helps to save time … Continue reading
Posted in Development
Tagged Development, good practices, javascript, server side, tips
Leave a comment