Migrated WordPress, Revolution Slider is not working

When you move WordPress to a new server or change the domain, your Revolution slider will break. To fix thes you need to update the paths to the images in database. Log into your cPanel, then phpMyAdmin and update the image URL paths in the table ‘wp_revslider_slides’, column ‘Layers’.


Write a simple .htaccess redirect

Here’s a simple .htaccess redirect. Assuming you already know how to create and edit your .htacces file, follow the example below.

RewriteEngine on
RewriteCond %{REQUEST_URI} ^/contact/$
RewriteRule ^.*$ http://www.mydomain.com/shop/contact/

In the example above, people who type in the URL http://www.mydomain.com/contact/ will be redirected to http://www.mydomain.com/shop/contact/

How to turn website into PDF

Turning a website into a PDF can be useful, for example searching for text throughout a website. Acrobat Pro DC makes it easy to search for all instances of a text throughout a PDF document.

Convert your website into a PDF:

1. Open Adobe Acrobat Pro DC.
2. Click the ‘Create PDF’ icon.
3. Click ‘Web Page’.
4. Enter the URL of the website you want to convert into the field.
5. Click ‘Capture Multiple Levels’.
6. Click ‘Get entire site’.
7. Click the ‘Create’ button. Now you just have to wait for Acrobat Pro DC to scan the entire site, which could take a while.
8. When the site PDD is done being processed, save it to a directory.

Note: If you’re going to search through the text of a PDF, I highly recommend Adobe Acrobat Reader DC over Adobe Acrobat Pro DC. For example, ‘Pro’ won’t find the ‘@’ if it’s sitting next to other letters, but ‘Reader’ will.

Convert PDF to fillable form using Adobe Acrobat Pro DC

Below is the quick way to convert PDf forms into fillable PDF forms assuming you don’t need radio buttons, or other more complex form elements. Also, your PDF should have underlines “__________” where you want fillable forms to appear.

1. Open the PDF document in Adobe Acrobat Pro DC.
2. Click the ‘Enable Editing’ button at the top of the page if it displays.
3. Acrobat will warn you that the PDF will no longer comply, click ‘OK’.
4. Save the document.
5. Click the ‘Prepare Form’ button.
6. Click the ‘Start’ button. You should now see a bunch of fillable form fields Acrobat generated.
7. Save the document.

You’re done.

How to make a second install of WordPress on the same site

In this tutorial, I’ll go over how to create a second WordPress install into a subdirectory assuming you already have a WordPress install in the root directory on the same site.

Move the original WordPress install from the root directory into a subdirectory

  1. Use an FTP program to move the WordPress install files from the root directory into a new subdirectory. This includes all the WordPress files and folders and they look something like this.
  2. Log into cPanel and use phpMyAdmin to update the ‘options’ table. In the ‘options’ table, update the ‘siteurl’ and ‘home’ fields to have the path to the subdirectory. Example: ‘http://www.stars.com/sun/’.

Install WordPress into a second subdirectory and direct website visitors to it

  1. Use cPanel to install WordPress into a subdirectory, let’s call the new subdirectory ‘asteroid’.
  2. Create a.htaccess file using notepad and ftp it into the site’s root directory. The .htaccess file should look like this.
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /asteroid/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /asteroid/index.php [L]
    # END WordPress

Now you have 2 installs of WordPress on one website. The new installation is what visitors to the website will see and the previous install is hidden away, but still accessible.