Business Solution, Marketing Strategy,company Solution

Jun 17 2008

How to Change Permanent link

<--use our toolbar

Published by admin at 3:00 pm under tips, wordpress

How to Change Permenentlink in Wordpress without using Plugin

What is permanent link, anyway?

The URL to each post should be permanent, and never change — hence permalink.

Comprehensive step by step

First come first.

After login into your wordpress admin (http://youdomain.com/wp-admin) goto

01. Option -> Permalinks

change-permanent-link-1.gif

02. You will see option like below. Choose whichever you like or you can specify custom made.

change-permanent-link-2.gif

AS sample above, I choose to custom made which i believe more simple and user friendly.

03. After you stasifiy with your choices click button

change-permanent-link-3.gif

Then you will see following alert flashing at the top.

change-permanent-link-4.gif

04. You nest job is to change or add some code on .htaccess file on your server. Basically .htaccess file located along with your index.php (same folder). Following diagram can found at bottom of the page. As stated you must copy all code given. The code then will paste/insert into .htaccess file.

change-permanent-link-5.gif

To find and edit .htaccess file.

01. Login into your hosting and look for .htaccess file. Remember that your root directory is /public_html

change-permanent-link-6.gif

02. Open and edit the .htaccess. Note: you can access your hosting/server using FTP Client, like what i do now.

change-permanent-link-7.gif

03. How .htaccess look like?

change-permanent-link-9.gif

Did you still remember the code on no. 4 above? You must copy it and insert at bottom line of .htaccess code. In this case line 30 or 31.

change-permanent-link-10.gif

04. Insert the code provided as below diagram.

change-permanent-link-112.gif

Don’t forget to save your work, otherwise it will no effect.

Viola, you are successful change your permanent link structure. No plugin required!

change-permanent-link-121.gif

Check it out

Before

before.gif

After

Now you understand what is this mean /%category%/%postname%/ - the more you add the longer the url

after.gif

Right now you was success to change your permanent link. What happen to old link?How is my link love?

Don’t worry your link love still in old format but when someone click it, system automatically redirect to your correct post (which is now user friendly structured).

You may also want to read what icalvyn wrote about Change Permanent Link .

If you think this article useful consider buy me a beer.


share it with your friends: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Spurl
  • del.icio.us
  • StumbleUpon
  • Technorati

viewed 18124 times by 1597 visitors

9 Responses to “How to Change Permanent link”

  1. iCalvynon 17 Jun 2008 at 6:26 pm

    great tips, I seen like did not change my htaccess file yet… going to update it right now…

  2. iCalvynon 17 Jun 2008 at 6:27 pm

    comment seen to be fail to post

  3. adminon 17 Jun 2008 at 11:27 pm

    hi, icalvyn,
    i think it ok now, i see your comment. thanks for contacting me via contact form

    my hosting “do something” but it was fixed hopefully.

  4. exincoon 17 Jun 2008 at 11:50 pm

    thanks for coming and droppin’ in my blog

  5. BloggerOfTheWebon 18 Jun 2008 at 10:12 am

    Changing my permalinks is the top priority thing I always wanna do but I do not have the confidence to do it as I am afraid that my PageRank will be affected.

    Do you think your above steps are safe? If it does, I don’t mind to give it a try. Thanks alot for this.

    BloggerOfTheWeb’s last blog post..LAP-Band System - Surgery Weight Loss Procedure

  6. exincoon 18 Jun 2008 at 12:34 pm

    hi bloggerOfTheWeb

    PR is always what blogger care of. I”m not sure about losing pR after changing permanent links, but my experience was my PR still remain at PR2.

    BTW after changing the permanent links structure, you can apply to google for reconsideration either to higher rank or previous rank (in case your rank was decrease)

    I change my permanent link 1 week ago and see what happen next. I also apply to google for higher than PR2

  7. [...] pakai plugin pun boleh, bg mereka yg tak sure mai kat Sini, tak yah guna plugin. bro congrats on your blog, info sangat berguna terutama graduan menganggur [...]

  8. Michael Monaghanon 16 Jul 2008 at 2:15 pm

    I have recently changed my wordpress permalinks from /press/archives/%post_id% to /%year%/%monthnum%/%day%/%postname%/.

    …and my htacess is as follows…

    # BEGIN WordPress
    RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    My links still lead to 404s and I’m not sure what to do. I have tried plugins as well, but to no avail…

    Think you could help me with this.

    Michael Monaghan’s last blog post..Google Hot Trends (USA) July 15, 2008

  9. adminon 16 Jul 2008 at 2:57 pm

    hi michael monaghan,

    from what i can see from your blog, it working perfectly with this format

    /%year%/%monthnum%/%day%/%postname%/

    this one of my .htaccess, check it
    —————————————–
    AddType x-httpd-php .php .htm .html

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

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

    # END WordPress
    —————————————-

    as you can see there is two < IfModule mod_rewrite.c >

    further reference, there is some issue as noted by http://codex.wordpress.org/Using_Permalinks

Trackback URI | Comments RSS

Leave a Reply