seo urls

Forum
Last Post
Threads / Messages

powerchaos

WebMaster
Member
Joined
May 27, 2008
Messages
130
Points
0
Mysidian Dollar
6,692
hi,
here is a small release for the htacces , would be nice if you could implant it

Code:
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9]+)/([a-zA-Z0-9_-]+)\.gif$ siggy.php?id=$1
RewriteRule ^([0-9]+)/([a-zA-Z0-9_-]+)$ levelup.php?id=$1

the above code will provide the following urls

http://pets.demonpower.com/1/Test_Egg ( levelup )
http://pets.demonpower.com/1/Test_Egg.gif ( image )

as you can see , it does work exept the template can not follow on the levelup link

maybe it is a nice start to work this way :D
as seo is needed those days and the links just looks better then those complicated looking links ( levelup.php?id=x )

ps:
Code:
Options +FollowSymLinks
that code does not need on all apache versions , depending on host you need it or not for seo urls to be able to work

Greetings From PowerChaos
 
Well the url rewrite for Admin Control Panel sorta follows the SEO friendly way. I will be doing this for the other script files too for future releases, so you can expect that no later than Mys v1.4.0.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,134
Members
1,604
Latest member
grandcorsair
BETA

Latest Threads

Top