Mod URL help

Started on the old forum in August 2013 · view the original in the archive · old links redirect here

3 replies · 738 views · started 13 years ago · 1 min read

3 participants
something else Fellow · 2,296 posts #2

do you really need ver=html at the end as it kinda defeats the point in using mod rewrite?

i would use:

RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ /mod/index.php?name=$1&page=$2&ver=$3 [L]

for url to look like this:

http://localhost/Coding-Talk/12/html

tutorial Junior · 14 posts #3

something else wrote: do you really need ver=html at the end as it kinda defeats the point in using mod rewrite?

i would use:

RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ /mod/index.php?name=$1&page=$2&ver=$3 [L]

for url to look like this:

http://localhost/Coding-Talk/12/html

Yes bro i need ver=html. Is there any possibilities? I saw in some sites using like that. I need to handle even multi language thorugh that type of perameter along with mod url rewrite.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close