WordPress Subfolder Multisite .htaccess file


RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]


Customize Landing Pages using GeoTargeting

Using geo targeting is a simple way to increase the conversion rates of our landing pages.Customizing landing pages we can increase the trust factor that visitors will have with your site. Geo targeting is basically a way to display different content on your page depending on the specific geographical location of a visitor. This is basically done by looking at the visitors IP address.While it is not 100% accurate, it usually does a good enough job to be effective.With geo targeting, you can hide the offer from visitors of irrelevance countries and and try to monetize these visitors some other way.
Continue reading…


Password protection and WordPress permalinks issue. How to fix it?

When you want to password protect a subfolder of your account, if there is a WordPress application installed in the public_html folder, the rewrite rules of the WordPress application will most likely negate the password protection.

To have the folder properly protected, you need to edit the .htaccess file in your public_html folder and change the bold line below:
Continue reading…


How to set a fav icon for a WordPress blog

1. Create FAVICON as *.ico file.

2. Upload your FAVICON to */wordpress/wp-content/themes/inove/img/ directory.

3. Remember no upper case letters, no spaces and only *.ico files.

4. Copy your FAVICON file name (from step No.2).

5. Replace XXX with your FAVICON file name in the following code. <link rel=”shortcut icon” href=”<?php bloginfo(‘template_directory’); ?>/img/XXX.ico” type=”image/x-icon” />

6. Open your theme editor and select Header (header.php)
– wp-admin/theme-editor.php?file=/themes/inove/templates/header.php&theme=iNove&a=te

7. Go to the end of the code. You will see <!– navigation END –>

9. Now drop this line of code – before the <!– navigation END –>

10. Save changes. You will see the FAVICON.


Make a WordPress page or post link to a URL of your choice

Page Links To
This plugin allows you to make a WordPress page or post link to a URL of your choosing, instead of its WordPress page or post URL. It also will redirect people who go to the old (or “normal”) URL to the new one you’ve chosen.

This functionality is useful for setting up navigational links to non-WordPress sections of your site or to off-site resources.

You can also use it to create a hand-crafted menu that links to pages, posts, categories, or anything within your site.
Continue reading…