Permalinks for pages
-
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 profilesAnd 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 exampleAnd I would like to make this one nice url changing it to:
http://www.mysite.com/profile/3/ or http://www.mysite.com/profile/3I have been trying some rules on htaccess
Like:
RewriteCond %{REQUEST_URI} ^profile/
RewriteRule ^profile/([0-9][0-9])/?$ /profile?id=$1or
RewriteRule ^profile/([0-9][0-9])?$ /profile?id=$1or
RewriteRule ^profile/?([0-9][0-9])$ /profile?id=$1And 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
The topic ‘Permalinks for pages’ is closed to new replies.