karker Posted April 23, 2011 Share Posted April 23, 2011 i want rewrite mode on change links redrects story.php?read=$cominngDynamicString iwant be change to story/$cominngDynamicString Quote Link to comment https://forums.phpfreaks.com/topic/234538-htaacsess-rewrite-regule/ Share on other sites More sharing options...
wildteen88 Posted April 24, 2011 Share Posted April 24, 2011 Yes you can have story/$cominngDynamicString call story.php?read=$cominngDynamicString but what mod rewrite will not do is modify your existing links within your files. You will have to edit your code so your links uses the new url. RewriteEngine on RewriteRule ^story/([a-z0-9]+)$ story.php?read=$1 [NC,L] Quote Link to comment https://forums.phpfreaks.com/topic/234538-htaacsess-rewrite-regule/#findComment-1205649 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.