Blog > Website Server >
By default when installing MAMP for Mac OS X it will redirect you to the host url http://localhost:8888, but what if you want to use a subdomain like http://yourwebsite.dev for testing rather than http://localhost:8888/yourwebsite. Here is how I managed it using both Mac OS 10.10 (Yosemite) and MAMP version 3.0.7.
HINT: Try not to use the extension name of .local in the domain name. It conflicts with Mac OS’s Bonjur and causes a slow website.
Have you ever created a new website for a client and needed to forward old url pages to their new urls, in order to update google and the other search engines.
I recently had a problem searching for values containing any uppercase characters in a MYSQL database. I had this little query but with no luck.
SELECT * FROM 'table' WHERE 'column' REGEXP '[A-Z]'
Recently I was working on an php class to save down an excel file from a database. And the client got back to me saying the filename was the wrong format and had no extension. So I asked them to send me the file.
Here are some tips that can really be helpful for MYSQL queries… quick reference.