• Resolved berseck

    (@berseck)


    Hello guys and girls,

    This is my first post here, but I have been working with wordpress for a while…

    I have in my theme games and profiles for players… and I have this thing

    http://www.mysite.com/games show the next game
    and have pictures for profiles

    And I have one page called profile that is using one of my templates… to get the player by the url ID and print the player data…

    So to get to one player u need to do something like this:
    http://www.mysite.com/profile?id=3 for example

    And I would like to make this one nice url changing it to:
    http://www.mysite.com/profile/3/ or http://www.mysite.com/profile/3

    I have been trying some rules on htaccess
    Like:
    RewriteCond %{REQUEST_URI} ^profile/
    RewriteRule ^profile/([0-9][0-9])/?$ /profile?id=$1

    or
    RewriteRule ^profile/([0-9][0-9])?$ /profile?id=$1

    or
    RewriteRule ^profile/?([0-9][0-9])$ /profile?id=$1

    And I have no Idea why nothing of these make change my url at the end 🙁

    Anyone can help me?

    Sorry for the broken english

    Cheers,
    berseck

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

The topic ‘Permalinks for pages’ is closed to new replies.