1437 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
webdesignerart says

Hi Guys,

I am using .html plugin for my blog page, It add .html ext after post url. But it not works in Custom Post type url.

So in simple is there any to add .html ext in custom post type url.

426 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • United Kingdom
SimpleSites4U says

Ok, ill bite

What are you trying to achieve? I presume with todays series of questions your working with wordpress?

1437 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
webdesignerart says

:) working on wordpress.

Basically i created custom post type “portfolio” when i add new post in portfolio post type, SO url show:

yourwebsite.com/portfolio/postname/

but i want:

yourwebsite.com/portfolio/postname.html

in my classic post and pages have .html extention, I am using .html plugin. But in post type it not works :(

5075 posts
  • Australia
  • Bought between 100 and 499 items
  • Community Superstar
  • Exclusive Author
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

Desk …. Head …. Bang

1437 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
webdesignerart says
1363 posts
  • Has been a member for 4-5 years
  • Sold between 1 000 and 5 000 dollars
  • Exclusive Author
  • Bought between 50 and 99 items
  • Referred between 10 and 49 users
  • United States
WebSmacker says

Face…. Palm…. Smack

1437 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
webdesignerart says

Guys what u’re talking, Not Clear to me :P

972 posts
  • United Kingdom
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 3-4 years
  • Microlancer Beta Tester
  • Bought between 100 and 499 items
  • Referred between 10 and 49 users
  • Exclusive Author
aaranmcguire says

heheheheheh ;) done through this plugin: http://wordpress.org/extend/plugins/custom-post-type-permalinks/screenshots/

You dont even need a plugin in Wordpress its in Settings -> Permalink .. and this should work `/ category / postname .html` without the quotes

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
+6 more
Reaper-Media Volunteer moderator says

Why are you trying to do this? What advantage to you get by adding .HTML to permalinks? Seems a bit backwards to me! :-P

584 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Referred between 50 and 99 users
  • Has been a member for 3-4 years
+1 more
LCweb says

Why are you trying to do this? What advantage to you get by adding .HTML to permalinks? Seems a bit backwards to me! :-P

If I’m not wrong, the .html extension should be slightly better for the SEO .

The engines should assign a better score to static pages. Using the .HTML you tell to google that your pages are static.

However I’ve never tried it in practice, only read somewhere :)

by
by
by
by
by
by