Hello Looking for help with making a RewriteRule on .htaccess file to support URLs in different languages. for example: a real page: domain.com/pages/page.php can works as: domain.com/pages-page if want it to work in greek like: domain.com/σελίδες-σελίδα how can i make it work if a language other than English used... or.. if there is no solution for this... how to write a rewrite rule to work like this: real url: domain.com/10/5.php rewrite to: domain.com/10_σελίδες-10_σελίδα σελίδες = pages σελίδα = page anyone can help please? or at least any one know how to do it?
Do you mean the URL in the browser domain.com/σελίδες-σελίδα will point to domain.com/pages/page.php?
yes...or at least url domain.com/10_σελίδες-10_σελίδα to point to domain.com/10/5.php - how to make rewrite-rules to work in other lang
no no... it means that if i use number as dir and number as filename how can i make it work like i asked..
I believe the rewrite rule will remain the same for English and non-English (not tested) e.g. RewriteEngine On RewriteRule ^([0-9]+)_(+.)-([0-9]+)_(+.) $1/$3.php Code (markup):