• Skip to primary navigation
  • Skip to main content

WebGuide4U

Photoshop | WordPress | Webhosting | Web Designing | Discount Coupon

  • Homepage
  • About Us
    • Author
  • Advertise
  • Free WordPress Installation
  • Contact Us
  • Show Search
Hide Search

WordPress

[How-To Guide] Change Default Permalink Structure In WordPress Blog

After installing WordPress, the first thing you have to do is to change the permalinks of your blog. Permalinks make the URLs permanent and make it more easier to remember. By default, WordPress blog use dynamic URL structure like http://infoedutech.com/?p=1 and these URL structure are not friendlier to search engine. To make URL SEO friendly you have to change the URL structure and this post focus on changing URL structure.

Step1: Log-in into wp-admin panel by typing URL as mentioned below:

http://domainname.com/wp-admin (replace domainname with your domain)

Step2: Go to “settings” and click on “Permalinks” (as shown below).

set-seo-friendly-permalink+wordpress+webguide4u+seo

Step3: When you click on “Permalinks”, it open a new window as shown below:

set-seo-friendly-permalink+permalink-structure+wordpress+how-to

Step4: Now you have to customize your permalinks and have to select the best SEO optimized permalink structure. There are a lot of option like:

  • Day and name
  • Month and name
  • Numeric
  • Custom Structure

The most basic and most used URL structure is “%postname%“ (as shown below). After changing URL structure click on “Save Changes” button as shown below

set-seo-friendly-permalink+select-permalink-structure

Step5: Congratulations, you have successfully change the permalink structure in WordPress.

Now it’s your turn, what should be permalink structure according to you?? Do share it in comment section and don’t forget to like on Facebook

[How-To Guide] Open Comments In New Window In WordPress

Already, I have shared a how to guide on avoiding spam comment using .htaccess method and now in this post I’m sharing a how to guide on opening comment in new window in WordPress. By default, WordPress comment open in same window and the visitor who click on comment author’s link will taken off from the site. This is bit annoying to me so, I find a way to get the link open in new window. Here is a step-by-step guide on opening comment in new window:

Step1: Log-in into cPanel (URL mentioned below) and click on “File Manager” as shown below:

http://www.domainname.com/cpanel (replace domainname with your domain)

comments-new-window+wordpress+how-to+how-to-guide-on-opening-comments-new-window

Step2: When you click on “File Manager” it open a new window, i.e. root directory. Now select “wp-includes” folder as shown below:

comments-new-window+wordpress+open-comment-new-window-wordpress

Step3: In “wp-includes folder” select “comment-template.php” file (as shown below) and click on “Edit” option in navigation menu.

comments-new-window+wordpress+comment-template.php+edit

Step4: Now in “comment-template.php” file search for the function “get_comment_auhtor_link” (as shown below). After finding the function “get_comment_author_link” search for the line as mentioned below:

$return = "<a href='$url' rel='external nofollow' class='url'>$author</a>";

comments-new-window+comment-window+wordpress

Step5: Now replace the function (in step4) with the function as mentioned below and click on “Save Changes” button as shown below:

$return = "<a target=”_blank” href='$url' rel='external nofollow' class='url'>$author</a>";

comments-new-window4

Step6: Congratulations, you have successfully changed the comment-template.php file and now the comments will open in new browser tab.

Remember

Back-Up file comment-template.php before making any changes in it.

Do you have any question, then ask in comment section or you can use Free WordPress Installation Service. Don’t forget to like on Facebook so that you don’t miss any update on WordPress Tutorial

Find this post useful, then share it with your friends and don’t forget to tweet it.

[How-To Guide] Block Visitors From Specific IP Address Using .htaccess

Already I have share few guides on .htaccess. Here is a quick recap:

How to Create .htaccess for WordPress Blog

How to Edit .htaccess File

How to Avoid Spam Comment in WordPress Blog Using .htaccess

Blocking a specific visitor from specific IP is pretty easy and you can do it in easy step, just follow this how to guide and block a specific user in few steps.

Step1: Log-in into cPanel by typing URL (mentioned below) and click on “File Manager” as shown below:

http://www.domainname.com/cpanel (replace domain name by your own domain)

block-visitors-specific-ip+how-to-block-visitors-from-specific-ip-address-.htaccess+.htaccess

Step2: When you click on “File Manager” (in step 1), it open a new window (as shown below), i.e, root directory of your domain.

block-visitors-specific-ip+.htaccess+wordpress+block-visitor-using-.htaccess

Step3: Now select .htaccess file and click on “Edit” option in navigation menu as shown below:

block-visitors-specific-ip+block-visitor+wordpress

Step4: After clicking on “Edit” option in navigation menu, it open a new window as shown below:

block-visitors-specific-ip+.htaccess+block-visitor

Step5: Now copy this code and paste this code (in step 4) in .htaccess file.

<Limit GET POST PUT>
order allow,deny
allow from all
deny from xx.xxx.xx.xxx
</Limit>

Here xx.xxx.xx.xxx is the IP address of the person you want to block. You can replace this with your visitor IP address.

Step6: When you paste this code (code you get in step5) click on “Save” button as shown below:

block-visitors-specific-ip+ip-address+block-visitor+wordpress

Step7: Congratulations, you have successfully block visitors from specific IP address using .htaccess

If you have any query do let me know in comment section and don’t forget to like on Facebook so that you don’t miss any .htaccess tutorial.

If you like this post and find informative, don’t forget to share it on social networking sites.

[How-To Guide] Avoid Spam Comment In WordPress Using .htaccess

Many time you see your comment spam page and find that few particular IP’s constantly sending spam comments. Now you want to get rid of these spam comments, the easiest way is to block these IP address by using .htaccess. Already I have shared how to guide on creating .htaccess file and how to guide on editing .htaccess file. Now in this post I’m sharing how to guide on avoiding spam comments in WordPress blog using .htaccess file.

Step1: Log-in into cPanel by typing URL (mentioned below). Click on “File Manager” (as shown below):

http://www.domainname.com/cpanel (replace domainname with your own domain name)

avoid-spam-comments-.htaccess+wordpress+how-to-avoid-spam-comments-using-.htaccess

Step2: When you click on “File Manager”, it open a new window, i.e., your root directory (as shown below).

avoid-spam-comments-.htaccess

Step3: In root directory select “.htaccess” file. Now click on “Edit” option in navigation menu as shown below:

avoid-spam-comments-.htaccess+.htaccess+avoid-.htaccess-file

Step4: As soon as you click on “Edit” button in navigation menu, it open a new window (as shown below)

avoid-spam-comments-.htaccess+wordpress+how-to-avoid-spam-comments

Step5: Now copy this code and paste this code in .htaccess file (you have to paste this code in step 4):

<Limit GET POST>
order allow,deny
deny from xx.xxx.xxx.xxx
allow from all
</Limit>

You can get the IP address of the spammer in your comment page, under WordPress Dashboard.

Step6: After pasting this code (code you have copied in step5) in .htaccess file, click on “Save” button as shown below:

avoid-spam-comments-htaccess+wordpress+.htaccess

Step7: Congratulations, you have successfully avoid spam comments in WordPress using .htaccess.

Remember

Replace xx.xxx.xxx.xxx with desired IP.

If you have any query do let me know in comment section and don’t forget to like on Facebook so that you don’t miss any of the tutorials on .htaccess

[How-To Guide] Edit WordPress .htaccess File

Already I have shared a post on how to create .htaccess file and now in this post I’m sharing how to edit .htaccess file.

Step1: Log-in into cPanel by typing URL (mentioned below) and click on “File Manager” as shown below:

http://www.domainame.com/cpanel (replace domain name with your domain name)

edit-.htaccess+.htaccess+how-to-edit-.htaccess-file

Step2: When you click on “File Manager” it open a new window (i.e. your root directory) as shown below:

edit-.htaccess1

Step3: Now select .htaccess file (in root directory) and click on “Edit” in navigation menu (as shown below):

edit-.htaccess2

Step4: Now start editing your .htaccess file according to your needs.

Remember

Before you start editing your .htaccess file, be sure to take a back up of your .htaccess file

If you have any query do let me know in comment section or you can use Free WordPress Installation Service. Don’t forget to like on Facebook so that you don’t miss any tutorial on .htaccess.

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 276
  • Page 277
  • Page 278
  • Page 279
  • Page 280
  • Interim pages omitted …
  • Page 286
  • Go to Next Page »

Hit the ground running with a minimalist look. Learn More

WebGuide4U

All rights Reserved. Articles cannot be reproduced without permission from the author© 2026