Posts tagged as:

Tips

WordPress SEO Tips : Remove unnecessary links

by wp-magz on November 11, 2008

If you have a more tag and a comments link on every post, and of course a post title, you have three different links pointing to the same page. This can affect your rankings negatively (again, because Google may think these links point to different pages).

To remove the “#more” text from your ‘Read More’ link, replace the following line in your wp-includes/post-template.php

  1. $output .= ' <a href="'. get_permalink()
  2. . "#more-$id\">$more_link_text</a>";

with

  1. $output .= ' <a href="'. get_permalink()
  2. ."\">$more_link_text</a>";

{ 0 comments }

Tips 5 Langkah Proteksi Wordpress Anda

by wp-magz on September 12, 2008

1. Create .htaccess

Contoh dibawah jika anda menggunakan permalink yang sudah di modif

<IfModule mod_rewrite.c>
RewriteEngine On
php_flag register_globals off
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

<Files wp-config.php>
Order Deny,Allow
Deny from All
</Files>

2. Create Robots.txt

User-agent: *
Allow: /
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/

3. Create file index.html

Create file  index.html kosong di plugin folder wp-content/plugins/index.html [click to continue...]

{ 1 comment }