1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Converting wordpress ext to .html

Discussion in 'Black Hat SEO' started by DeadJoe, Sep 16, 2014.

  1. DeadJoe

    DeadJoe Regular Member

    Joined:
    May 18, 2014
    Messages:
    327
    Likes Received:
    187
    Location:
    The Oblivion
    Hello,

    I am using wordpress on a current website that I am building on an expired domain. The domain has quite a few backlinks from other websites pointing to some inner pages that have a ext of .html

    I want to recreate those pages with my content but when I do so with wordpress I am unable to get the .html extension. Any way I can get wordpress to use .html extension?

    Thanks
     
  2. theillusive

    theillusive Newbie

    Joined:
    Sep 9, 2014
    Messages:
    13
    Likes Received:
    2
    Wordpress requires PHP as part of the server so the file extension of any file will need to be .php

    There are probably ways of getting around it using scripts/server side jobs/etc but these are not efficient and likely will cause your site to break easily.
     
  3. SaketNandurkar

    SaketNandurkar Newbie

    Joined:
    Sep 11, 2014
    Messages:
    19
    Likes Received:
    1
    I am interested.... Please add me on Skype.... Saket.Nandurkar
     
  4. ibmjango

    ibmjango Jr. VIP Jr. VIP

    Joined:
    Jul 3, 2010
    Messages:
    252
    Likes Received:
    74
    you can use custom permarlinks settings in wordpress where you can add .php
     
  5. uiuxdesigner

    uiuxdesigner Newbie

    Joined:
    Sep 15, 2014
    Messages:
    46
    Likes Received:
    11
    Location:
    Nashik
    Home Page:
    In wordpress, seperate plugins also available for change permalinks (html)
     
  6. bignose

    bignose Power Member

    Joined:
    Dec 6, 2009
    Messages:
    599
    Likes Received:
    90
    Gender:
    Male
    Nothing can be easier. Just go to Settings > Permalinks > Custom structure > and there

    For example

    Hope this helps.
     
    • Thanks Thanks x 1
  7. jon_xx_x

    jon_xx_x Jr. VIP Jr. VIP

    Joined:
    Nov 15, 2008
    Messages:
    3,104
    Likes Received:
    1,458
    Search plugins for ".html on pages"
    I use that from time to time. Then you have to do what the above poster says, change structure. (Unless new wordpress you can do it without the plugin but before it would just go to whatever-html not .html.
     
  8. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,063
    Likes Received:
    2,872
    Gender:
    Male
    Super easy. Just do what bignose said.. Alternatively, you can acheive this using htaccess but that's gonna create a lot of problems in the internal linking structure. Better go for %postname%.html
     
  9. l0tterylisa

    l0tterylisa Registered Member

    Joined:
    Dec 10, 2013
    Messages:
    71
    Likes Received:
    3
    Location:
    Internet
    yep, so many ways to do this..