All styles are looking for the site URL twice

If you have set the stylesheet href as relative path eg. /example.com/wp-content/… it will append it to the current location http://example.com in your browser, so for just a relative path use just /wp-content/. But if you specify an absolute path eg. http://example.com/wp-content/… or even //example.com/wp-content/ it will just look for that directly. Either way should … Read more

Redirects and Subdirectory migration to Root Directory

I do the following: Move all old files in the root dir to a special folder (i.e. “_old”) Login to the new site in subdir and remove the subdir from the WordPress and Site Adress (so remove sitename.org/new and enter sitename.org) Using FTP or your hosts file manager, move all files from the subdir “new” … Read more

Internal server error

Assuming that www.example.com/site1 is the 1st site (in the root folder site1 folder), and www.example.com/site2 is the second site (in the root folder site2 folder. The easiest way (normally) to clone (or move) a site is to use the excellent WP-Clone plugin to backup and restore the ‘site1’ site to the root. But, you will … Read more

Migration from XAMPP in windows to MAMP in Mac

Do this: Create a folder on your Windows Desktop and give it a name (ie ‘WebProject’) Find htdocs folder of XAMPP, right click on folder, Send To -> Compressed Folder. Move the zip file created in step 2 to the folder from Step 1. Open phpMyAdmin and export your DB. Save the file in folder … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)