(Basic) Joining rewrite rule in htaccess

  • basketmen
  • Student
  • Student
  • basketmen
  • Posts: 69

Post 3+ Months Ago

I have these rewrite rules


Quote:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(file1.php)
RewriteCond %{REQUEST_URI} !(file2.php)
RewriteCond %{REQUEST_URI} !(file3.php)

RewriteRule ^/?(af|sq|ar)/([^/]+)/?$ /index.php?z-profile=$2&language=$1 [L,QSA]
#RewriteRule ^/?(af|sq|ar)/([^/]+)/?$ vseo.php?bet_lang=$1&redirected=/index.php?z-profile=$2 [L,QSA]
#RewriteRule ^([^/]+)/?$ index.php?z-profile=$1 [QSA]




i want to joining the rewrite rules in bold above so maybe can make it faster and short, what is looks like, thanks for sharing answer guys

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 39 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.