• cscott5288

    (@cscott5288)


    OK so here is the dilemma.

    I am moving my site to wordpress but I have a problem. One of my pages which has a particularly high search ranking has a .php extension at the end of it. So the page is like https://www.test.com/name.php. what I want to do is not have to use a 301 permanent redirect but instead have that very same URL in my new wordpress blog (so i don’t have to use a redirect and lose PR juice). I know I can name a post address whatever I want, in so far as I don’t add an extension. So I can do https://www.test.com/name but I cannot add the php extension! When I try to edit the URL in the post editor, it automaticall turns ‘.php’ into ‘-php’ as you know, to comply with url standards.

    Is there anyway I can have the EXACT same url by adding a .php at the end of the particular blog post I want so that it matches what the original page was?

    Thanks ahead …

Viewing 2 replies - 1 through 2 (of 2 total)
  • Samuel B

    (@samboll)

    hmmm…don’t think you can on a single post

    you can have all posts end with .php with custom permalinks
    /%postname%.php

    maybe someone else knows better, though

    Thread Starter cscott5288

    (@cscott5288)

    Yeah, that is one solution.

    However I would really like the php extension to be custom to that page only.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘trying to have a custom url that has a php extension’ is closed to new replies.