Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 24th Mar 2015, 12:52 PM   #1
Active Warrior
 
Join Date: 2012
Location: India
Posts: 45
Thanks: 36
Thanked 5 Times in 5 Posts
Default
Need htaccess redirection code for permalink change
Share on: 
fb share twitter share gplus share more share

I have changed my permalink structure from /%postname%/ to /%postname.html.

Now I need a htaccess code to redirect old structure post to new structure one.

Found a code but it says you have to write for each and every page, more than hundred pages are there.

Is there any code to redirect all posts with old structure to new one ? 301

rocky1223 is offline  
Unread 24th Mar 2015, 01:02 PM   #2
Amazon FBA Guru
War Room Member
 
TeKn1qu3z's Avatar
 
Join Date: 2012
Location: The Office
Posts: 794
Thanks: 217
Thanked 144 Times in 130 Posts
Default
Re: Need htaccess redirection code for permalink change
Share on: 
fb share twitter share gplus share more share

There is a redirect plugin that can do as it is hard for ranking SERP. There is no such thing that we can make all the links once at a time.
TeKn1qu3z is offline  
Unread 24th Mar 2015, 02:35 PM   #3
SpiderCon
War Room Member
 
Join Date: 2012
Location: Earth
Posts: 194
Thanks: 30
Thanked 17 Times in 16 Posts
Default
Re: Need htaccess redirection code for permalink change
Share on: 
fb share twitter share gplus share more share

Here is the WP Plugin that will do this job...

https://wordpress.org/plugins/esb-url-extension/
hassan007 is offline  
Unread 4th Apr 2015, 12:43 PM   #4
Warrior Member
 
Join Date: 2015
Location: USA
Posts: 10
Thanks: 19
Thanked 0 Times in 0 Posts
Default
Re: Need htaccess redirection code for permalink change
Share on: 
fb share twitter share gplus share more share

One of the first things to do when you login to your newly installed WordPress dashboard is to adjust the permalink settings to set the url structure for the site. You can do this by going to the Settings → Permalinks panel.
The default permalink setting for WordPress create ugly urls p=123 using the postid number. Changing to one of the date structures isn’t much better. The best option from an SEO perspective is to choose postname to put the title of your post in the url or, what some do, select Custom Structure and put /%category%/%postname%/ to add the category as well as the post title in the url. Then you want to use keywords for category names.

Curtnielson is offline  
Closed Thread


Bookmarks

Tags
change, code, htaccess, permalink, redirection


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:54 PM.