Jump to content

php urls


jk11uk

Recommended Posts

hi

 

i have made my site so that the URLs look like: keyword-keyword2-keyword3-NUMBER/  so for example: online-gaming-12.php

 

it looks for the id in the URL in order to load the content of that id from the database. but it ignores the rest, so if i typed blahblah-12.php it would still load the online gaming page.

 

Is there any quick way to stop this happening? maybe in the htaccess file or something?

Link to comment
https://forums.phpfreaks.com/topic/94273-php-urls/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.