How to set up a temporary link on GoDaddy

Are you trying to stage your site before your domain name gets pointed over to your GoDaddy hosted account? Probably like me, you may be frustrated with how difficult it is to set up a staging area to view your site. And GoDaddy doesn’t offer this information, so hopefully this post will save you some time.  It’s actually easy to do once you know how.

First login in to your GoDaddy cPanel account. For this tutorial, we’ll assume you are using WordPress and have already installed it to your account.

Check the URL you’re logged into GoDaddy. It will look something like this: https://h2kjkh101.prod.iad2.secureserver.net:2083/cpsess1234567890/frontend/gl_paper_lantern/index.html

You will need this part of the GoDaddy URL: https://h2kjkh101.prod.iad2.secureserver.net:2083/

Also take note of this info in your GoDaddy control panel:

Stats & Usage
Home Directory
/home/j8a882820s

Open up your File Manager, then the wp-config.php file.

Underneath the PHP line at the top
* @package WordPress
*/

Paste the following:

define(“WP_SITEURL”,”HTTPS://YOURTEMPORARYGODADDYDOMAIN/”);
define(“WP_HOME”,”HTTPS://YOURTEMPORARYGODADDYDOMAIN/”);

Next, replace the HTTPS://YOURTEMPORARYGODADDYDOMAIN/ with your GoDaddy link so it will look something like this:

define(“WP_SITEURL”,”https://h2kjkh101.prod.iad2.secureserver.net:2083/”);
define(“WP_HOME”,”https://h2kjkh101.prod.iad2.secureserver.net:2083/”);

Then add a tilde “~” to the end of the URLS followed by your account ID which in this example is j8a882820s. Follow it with a forward slash “/”

The links should now look like this:

define(“WP_SITEURL”,”https://h2kjkh101.prod.iad2.secureserver.net:2083/~j8a882820s/”);
define(“WP_HOME”,”https://h2kjkh101.prod.iad2.secureserver.net:2083/~j8a882820s/”);

Save the file.

If all goes well, you should be able to go to the link and view your temporary WordPress site: https://h2kjkh101.prod.iad2.secureserver.net:2083/~j8a882820s/

https://h2kjkh101.prod.iad2.secureserver.net:2083/~j8a882820s/wp-admin should also work fine to login and continue updating your WordPress site.

Once you take your site live, make sure to remove the two lines from your wp-config.php file otherwise your website will redirect to the staging area.

*Note these links are fake and don’t work. They are just for example for this tutorial.

How To Transfer Domains to Register.com

Let’s just get this out in the open. I am not a fan of transferring or registering domains with Register.com. Their admin panel is clunky and outdated, domain pricing is unknown until you register a user name, and to be honest their service was rude both times I called in.

But let’s say you still need to transfer a domain from another domain registrant such as Godaddy or NameCheap. A Google search for it will give you nothing that is all helpful so I thought I’d share what I had to do to transfer a domain from an existing registrant to Register.com.

Step One: Purchase a domain transfer from Register.com

Step Two: Initiate the transfer from the existing domain registrant. You will be issued a transfer code.

Step Three: Call Register.com’s support number 1.866.455.1655. They will ask for the domain that needs to be transferred. They will then send an email to the existing domain owner’s email that is on file.

Step Four: Once the existing domain owner receives the email, they need to reply back to Register.com’s email with “I agree to the transfer” and include the domain transfer code. That should take care of the transfer. Now it will be in Register’s hands to finalize the transfer.

Best of luck to you. I hope you enjoy your experience at Register.com!

How to Remove Xmarks From Chrome

LastPass recently announced they are dropping their Xmarks bookmark sync extension leaving their users with an unusable browser extension as of May 1st, 2018. If you don’t know what Xmarks is, it allows you to backup and sync your bookmarks and open tabs across computers and browsers for $10 a year.

Booooo!

Instead of killing off Xmarks, LastPass should sell it off to another company so the app can live on. Oh well, I guess we’ll live, just not so productively.

This is how you can remove Xmarks from your Chrome browser:

  • The fastest way is to go to chrome://extensions, find Xmarks and click Remove.
  • Alternatively, click on the three dots on the top far right of your browser. Click on More Tools > Extensions, find the Xmarks extension then click Remove.

To remove Xmarks from Firefox:

  • Click Tools > Add-Ons > Extensions. Find Xmarks Bookmark Sync and click Remove.

Now rinse and repeat on all your browsers and don’t forget to remove the app from your mobile devices.

How to Switch Single Lines of CSS to Multiple Lines in Sublime Text

Every once in a while you’ll need to edit a CSS file and all the code will be in single lines. This to me is annoyingly unreadable to the human eye unless you really look closely. It’s not fun so here’s how to Find and Replace the code in Sublime Text. I am pretty sure you can do this in just about any code editor.

First, open up your Find and Replace search box. For PC’s that’s Find > Replace or CTRL + H to open up the Replace box. For multiple files, Find > Find In Files or CTRL + SHFT + F. Whenever possible use keyboard commands. It makes coding and designing much more efficient.

For this example I use the Replace Files box.

Make sure Regular Expressions is selected. It’s those little characters at the top left of the Replace box =>  .*

Next, add the semicolon character to Find =>  ;

If you’re using the Replace search, make sure to select the files you want to do this for.

In the Replace field, add semicolon, backslash, n, backslash, and t =>   ;\n\t

The semicolon will be replaced with itself. If you don’t add this your CSS code will absolutely be decimated. The \n is a line feed, the \t is a tab to indent the code.

When you’re ready, hit the Replace button. Sublime Text will pop up a box asking to replace how many instances of semicolons are in the file(s).

Voilah! You now have a cleaned up CSS file ready for viewing. Happy coding!

https://www.youtube.com/watch?v=TL5-3IqBy1s

Dealing with Sucuri Alerts

If you own a WordPress website and have the Sucuri plugin installed, there’s a good chance you may have received email alerts stating there was an attempted login with the following message like this:

Explanation: Someone failed to login to your site. If you are getting too many of these messages, it is likely your site is under a password guessing brute-force attack [1]. You can disable the failed login alerts from here [2]. Alternatively, you can consider to install a firewall between your website and your visitors to filter out these and other attacks, take a look at Sucuri CloudProxy [3].

Sucuri gives you a few options to deal with these annoying attempts to gain access to your website. One of the options is to install their Website Firewall. This is a great recommendation as this can prevent these attacks from ever even hitting your site at the WordPress level. But if you have multiple websites like I do, this can start racking up quite a monthly expense.

An alternative option is to add password protection on top of your wp-login.php page. Listed below are a few steps you can follow but if you don’t do it right you can get a “500 – Internal Server Error”. This can be remedied by taking the following steps to protect your login area:

Step 1: Create a .htpasswd file by using the .htpasswd generator here. Make sure to take note of your user name and password otherwise you won’t be able to login to your own site.

Step 2: Follow the directions here and add the suggested script to your .htaccess file in your WordPress root folder. Make sure to switch out the user name to the one you made in the .htpasswd file where it says “require user mysecretuser”

Step 3: Once the .htpasswd and .htaccess files have been updated and added to your hosting account try to log in to your website at domain.com/wp-login.php to see if the new popup window works. Enter in the new user credentials you created in step 1. If you see the WordPress login fields after the popup window you did it right.

But if not, this is where it might have gone wrong. The line “AuthUserFile ~/.htpasswd” needs to be changed to the proper full file system path. If it’s incorrect, you will most likely get an annoying “500 – Internal Server Error”.

Here’s what you need to do next. Create a file called anything dot php. For this example simply call it root.php. Add this code to the file, save and upload to your root folder:

<?php
echo $_SERVER[‘DOCUMENT_ROOT’];
?>

Go to your domain.com/root.php and you’ll get the exact full file system path. Copy and paste it into “AuthUserFile ~/.htpasswd”. It should now look something like “AuthUserFile /home/yourhostingaccountname/public_html/domain.com/.htpasswd”

Update your .htaccess file and you should be good to go. If the code above doesn’t work, go here to grab the code instead.

Once everything is working properly, make sure to remove your root.php file!

How to Delete Facebook Business Page Posts Using Business Manager

Frustrated with wasting your time looking around on Facebook for how the hell to delete a post on a business page? You’re not alone and all the Facebook help pages are totally useless. If you’re looking to delete Facebook Business Page posts using Business Manager, this is how you do it.

It’s simple really, once you know how to do it.

There are two ways to do this:

1) From your Page, click on the Settings link then scroll down to the Activity Log on the left. From there you will see your posts and be able to delete them accordingly.

 

 

2) Go to your Business Manager. You can click on the V drop down from the post. Here’s the link where XYZ is your business page: https://business.facebook.com/xyz/ or go to your Activity Log and delete them from there.

Happy deleting!

Opt out of SiriusXM Marketing and Direct Mail

If you’ve recently purchased a car from a dealer that has satellite radio installed in it, then you’ve probably been entered into the lead generation and call list for SiriusXM. This means you’ve received frequent sales calls followed by a barrage of relentless direct mailers asking to upgrade your membership to a paid account. Not into satellite radio? Here’s how to opt out.

  • First you must create an account with SiriusXM. Although contradictory to opting out, this is what I had to do to opt out of their mailers.
  • Once you’ve created an account, go to “My Account Info” then “Communication Preferences”, click on each accordion tab and opt out accordingly. That should do it.

When I first received their calls, I asked them to remove me from their list. It took a couple of calls but I finally don’t receive any more calls. The mailers did continue so this how I found out how to opt out of SiriusXM’s direct mail. Good luck!

Opt out of SiriusXM Radio direct mail

Opt Out of Catalog Mailers

Tired of getting catalog mailers? Want to opt of the following catalog mailers list below? Sign up for an account at Direct Marketing Association’s opt out list at DMAchoice.org. While you’re there you can also opt out of credit offers, magazine offers and other mail offers and finally put a stop to all direct mail marketing campaigns.

Here’s the DMA’s current list of companies and organizations they represent that you can you opt out of:

  • 1-800-Flowers.Com
  • AAFES
  • Abbey Press
  • ABLambdin
  • Achievement Products, Inc.
  • AJWright
  • AllPosters
  • American Eagle Outfitters
  • American Girl Brands, LLC
  • American Mint, LLC
  • AmeriMark Direct, L.L.C.
  • Anthony Richards
  • Anything Goes / dba Heavenly Treasures
  • Art.com
  • Autom
  • Back In The Saddle
  • Ballard Designs
  • Bass Pro Shops, Inc.
  • Beauty Botique
  • Bed Bath & Beyond
  • Daedalus Books, Inc.
  • Dave’s Novelty Catalogs
  • Dave’s Soda & Pet City
  • Day-Timers, Inc.
  • Dean & Deluca Brands Inc.
  • Deseret Book
  • Discount School Supply
  • Dixie Home Crafters
  • Donna Salyers’ Fabulous-Furs
  • Dover Saddlery
  • Dream Products, Inc.
  • Drs. Foster & Smith, Inc.
  • Early Childhood Manufacturers’ Direct (ECMD)
  • Eastern Mountain Sports
  • Easthill Group Inc. DBA The Eastwood Co
  • Eddie Bauer Holdings, Inc.
  • Essentials by Anthony Richards
  • Excelligence
  • Eximious, Inc.
  • Express, LLC
  • Hanesbrands Inc
  • Harriet Carter Gifts, Inc.
  • Harrington’s of Vermont, Inc.
  • Harry & David
  • Harvest Manor Farms
  • HCI Direct
  • Health Freedom Nutrition LLC
  • Healthy Living
  • Hearthsong
  • Hershey Company,The
  • Highlights for Children
  • Highplains Bison
  • HomeGoods
  • Improvements
  • In The Company of Dogs
  • J & J Commerce, Inc.
  • J & R Music World/ J & R Computer World
  • J Jill
  • J&P Cycles
  • J. W. Jung Seed Company
  • LEGO Brand Retail
  • Lenox Group Inc.
  • Levenger
  • Limited Brands
  • Loehmann’s
  • Long’s Electronics, Inc.
  • Lucky Brand Jeans
  • Macy’s East
  • Magellan’s Catalog
  • Magic Cabin
  • Marshalls
  • Maus & Hoffman Inc.
  • MediBadge, Inc.
  • Medifast, Inc.
  • Michael C. Fina
  • Musician’s Friend
  • Nancy’s Notions
  • National Wholesale Company, Inc.
  • NBTY, Inc.
  • New York & Company
  • Park Seed Company, Inc.
  • Passport International, Ltd.
  • Patagonia
  • Payless ShoeSource, Inc.
  • PB Teen
  • Peruvian Connection Ltd.
  • Petco Animal Supplies
  • Petsmart, Inc.
  • Pfaltzgraff
  • Pier 1 Imports, Inc.
  • PJT Inc. d/b/a River Street Sweets
  • Plow & Hearth
  • Potpourri
  • Potpourri Group, Inc.
  • Pottery Barn
  • Pottery Barn Bed and Bath
  • Pottery Barn Kids
  • Prestwick House, Inc.
  • Pyramid Collection,The
  • RadioShack Corporation
  • S. Wallace Edwards & Sons, Inc.
  • See’s Candies, Inc.
  • Serengeti
  • ShapeFx
  • Sheplers, Inc.
  • Shoes for Crews, LLC
  • Sierra Trading Post
  • SkyMall, Inc.
  • Smith + Noble
  • Soft Surroundings
  • Spiegel
  • Sportif Mail Order, Inc.
  • Sportsmith, L.L.C.
  • Staples, Inc.
  • Stitchery,The
  • Sturbridge Yankee Workshop
  • Summit Racing Equipment
  • Sundance Catalog Company LLC
  • Sunnyland Farms, Inc.
  • SunPorch Structures, Inc.
  • ULTA Salon Cosmetics Fragrance
  • Unicover Corporation
  • UniFirst Corp
  • UniFirst Corporation
  • United Retail Incorporated
  • United States Mint
  • Vector Marketing Corporation
  • Vermont Country Store,The
  • Victoria’s Secrets
  • Waterfront Media
  • west elm
  • West Marine
  • Whatever Works
  • White Flower Farm
  • Williams-Sonoma
  • Williams-Sonoma Home
  • Williamson-Dickie
  • Wind & Weather
  • Windsor Collection
  • Wine Enthusiast Companies