This is the dynamic URL
http://www.domain-example.com/accounts. ... ode=browse
Could you kindly shows me to write it to directory style
http://www.domain-example.com/accounts/wow/browse
Thank you!
RewriteEngine on
RewriteRule accounts/(.*)/(.*) accounts.php?gametag=$1&mode=$2
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteRule ^accounts/([^/]+)/([^/]+)/?$ /accounts.php?gametag=$1&mode=$2 [QSA,L]
now all the images and css is broken
It is rewriting user request URL
how about rewrite server generated URL?
Return to Friendly URLs with Mod_Rewrite
Users browsing this forum: No registered users and 6 guests