Thanks it's work correctly. I use this one -------------------------------------------------------------------------------------------------------- http://www.ask.dnoj.ir --->> ask.dnoj.ir Options +FollowSymLinks DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} robots.txt$ [NC] RewriteRule ^([^/]+) $1 [L] RewriteCond %{HTTP_HOST} ^www.ask.dnoj\.ir RewriteRule ^(.*)$ http://ask.dnoj.ir/$1 [R=301,L] #RewriteBase / RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ RewriteRule . %1/%2 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L] </IfModule> -------------------------------------------------------------------------------------------------------- but some pages like http://www.ask.dnoj.ir/%D9%82%D9%88%D8%A7%D9%86%DB%8C%D9%86 don't redirect to the http://ask.dnoj.ir/%D9%82%D9%88%D8%A7%D9%86%DB%8C%D9%86 please help me to solve this problem too
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.