Convert wordpress site page/blog link with extention .html

4 replies
Hello Warrior

Do any one know how i can make WordPress site link to have .html extension on end ..

as right now it shows like this

www.mydomain.com/promo

I want like this

www.mydomain.com/promo.html

Do you know how to do it or is there any plugin for WordPress to do it for all blog post i have ...

Waiting for your suggestion ....

Regard
Sumit Pradhan
#convert #extention #html #link #page or blog #site #wordpress
  • Profile picture of the author mindwire
    I would suggest you to transfer your html file to your root directory on your FTP.
    The html file can contain a simple frame redirect, so you can direct visitors through your link while preventing the URL in the browser bar from changing. Just google 'HTML frame redirect'.

    Best regards!
    {{ DiscussionBoard.errors[8190198].message }}
  • Profile picture of the author WillR
    All of Wordpress is coded in php and thus I don't see how you could change them to .html extensions. Not sure why you would really want to either? Is there any particular reason you need the link like that? Maybe there is another solution for the problem you are having.
    {{ DiscussionBoard.errors[8190240].message }}
  • Profile picture of the author run
    Originally Posted by bapparabi View Post

    Hello Warrior

    Do any one know how i can make WordPress site link to have .html extension on end ..

    as right now it shows like this

    www.mydomain.com/promo

    I want like this

    www.mydomain.com/promo.html

    Do you know how to do it or is there any plugin for WordPress to do it for all blog post i have ...

    Waiting for your suggestion ....

    Regard
    Sumit Pradhan
    Do you have any reason to do that?

    - It would be fine if you convert from another site which already had .html extension.
    - If you start a new Wordpress site, I don't see any benefit of adding it.
    - If you change your existing Wordpress site to that it might cause more headache.
    - It's just fake extension to blind Search Engine, but it's not worth because Search Engine is cleaver enough to judge whether your site is static or dynamic.

    THESE ARE IT:

    - Using this custom permalink structure but it could only change the permalink of the posts only.
    /%postname%.html
    - Using this plugin to change the permalink of pages - You must tweak some part to of url structure to make child-page and parent page work smoothly with error.

    It's headach and is not worth it right?
    Signature
    I just wanna tell you that most of the links in the signature are trash and/or a trap to make you pay!
    {{ DiscussionBoard.errors[8190278].message }}
  • Profile picture of the author prince55l
    Originally Posted by bapparabi View Post

    Hello Warrior

    Do any one know how i can make WordPress site link to have .html extension on end ..

    as right now it shows like this

    www.mydomain.com/promo

    I want like this

    www.mydomain.com/promo.html

    Do you know how to do it or is there any plugin for WordPress to do it for all blog post i have ...

    Waiting for your suggestion ....

    Regard
    Sumit Pradhan
    what you need to do is to go to your permalink section and add .html to custom url and save your changes to update htaccess file.

    use something like this %postname%.html
    {{ DiscussionBoard.errors[8190293].message }}

Trending Topics