• sinergy

    (@sinergy)


    Hello,

    is there a way to use the parameter “?id” instead of “?page_id” ?

    Thanks for your answers.
    Best regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • moshu

    (@moshu)

    No.

    Thread Starter sinergy

    (@sinergy)

    Why?

    ivovic

    (@ivovic)

    because.

    moshu

    (@moshu)

    Because that’s how it is coded.
    What do you want? I mean what is your end goal and why? Don’t go technical, just explain WHAT you want and ask for the HOW; don’t assume you know it.

    Thread Starter sinergy

    (@sinergy)

    heh, i’ve read to change it in wp-includes\classes.php .. ?!

    Thread Starter sinergy

    (@sinergy)

    i’d like to use ?id instead of ?page_id as parameter in my url
    because google sitemap listed my old site with “?id” links.

    ivovic

    (@ivovic)

    well, that’s a good reason, but your better solution is to do 301 redirects in your htaccess file.

    ask google about it, there are guides upon guides on how to do this.

    I assume your ID numbers are the same right? well, a redirect specified as a regular expression will reuse the incoming IDs, but change the URLs.

    Thread Starter sinergy

    (@sinergy)

    thanks, that helped me alot 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘?page_id to ?id’ is closed to new replies.