1737 posts
  • Has been part of the Envato Community for over 4 years
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
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
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
SimpleSites4U
says

Ok, ill bite

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

1737 posts
  • Has been part of the Envato Community for over 4 years
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
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 :(

5492 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+5 more
Australia
says

Desk …. Head …. Bang

1737 posts
  • Has been part of the Envato Community for over 4 years
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
webdesignerart
says
1795 posts
  • Located in United States
  • Helped protect Envato Market against copyright violations
  • Has sold $10,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+4 more
plugindistrict
says

Face…. Palm…. Smack

1737 posts
  • Has been part of the Envato Community for over 4 years
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
webdesignerart
says

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

973 posts
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+6 more
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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+10 more
Reaper-Media
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

972 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item that was trending
+8 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