Hello,
Yeah those type of URLS are ugly from the start to end, and to be honest not every user will be able to remember an entire string like that.
First, it's always best to get some little basic knowledge of working with ".htaccess" files. And to be honest with you it's really easy if you take your time to understand how they work
.
Anyways, here's a little code i wrote up (which has been tested):
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule view/(.*)/$ news.php?view_news=$1
Now to break it down...
(.*) is where the values will go, like the "view_news" would go into the first one after "view/".
Which would output it as:
http://www.yoursite.com/news/view/20...21_1235769160/
Now you can change "view" to another value like when the article was posted or the author who posted the article.
Although make sure, you upload the ".htaccess" file into the directory folder as where "news.php" is, otherwise it would not work and you might just get yourself a nice pretty "500 Internal Server Error" displaying until it's fixed.
Hope this helps
Bookmarks