Jump to content
MakeWebGames

RewriteRule question.


Aurora078

Recommended Posts

I'm rewriting my urls to make them look more clean. Should i use:

  RewriteRule (.*)\/(.*),(.*) $1.php?1=$2&2=$3
    //Which would look like [url]http://blah.com/page/var1,var2[/url] 

 

or

 

  RewriteRule (.*)-(.*)-(.*) $1.php?1=$2&2=$3
   //Which would like like [url]http://blah.com/page-var1-var2[/url]

 

etc.

If you don't suggest either of them, just reply with the end result of the url "http://example.com/whatever it should look like.

Thanks,

-Amanda

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...