Mobile app version of vmapp.org
Login or Join
Mendez628

: Refer to @Pål Brattberg's answer for detailed description @phpheini You don't need to bind the .htaccess file to the database, suppose if you want the URL for your article like http://example.com/sports/45/world-cup-2011.h

@Mendez628

refer to @P ål Brattberg's answer for detailed description
@phpheini You don't need to bind the .htaccess file to the database, suppose if you want the URL for your article like
example.com/sports/45/world-cup-2011.html
RewriteEngine On
RewriteBase /
RewriteRule ^([a-z]+)/([0-9]+)/(.*?).html$ /index.php?type=&article_id=


Here and get the article type and article_id which can change. index.php can output content based on the parameters.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Mendez628

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme