sorry i'm really bad skilled in .htaccess but i need to do this:
I need to have URL in this format:
and the first variable is "accomodation" between slashes. I don't know how many variable i need after last slash, but as many as possible.
I tried something like this, but it doesn't work... Yes it work, but i can get any variable after last slah...
RewriteRule ^(accomodation)/search/(.*) accomodation.php?title_url=$1
No i dont use any php framework
Try out this:
<IfModulemod_rewrite.c>RewriteEngine OnRewriteRule ^lookup/([a-z0-9\-]+)/item/?$ /lookup.php?id=$1</IfModule>
This will match any alphanumeric (also will recognise dashes) string of any length as the 'id'. You can limit this to just numeric by changing the regex to ([0-9]+).
<IfModulemod_rewrite.c>RewriteEngine OnRewriteRule ^lookup/([a-z0-9\-]+)/([a-z0-9\-]+)/?$ /lookup.php?id=$1&view=$2</IfModule>
This one will match /lookup/123/some-text/ to /lookup.php?id=123&view=some-text
Content will be erased after question is completed.
Enter the email address associated with your account, and we will email you a link to reset your password.
Forgot your password?
These are the countries currently available for verification, with more to come!