Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1055043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:30:03+00:00 2026-05-16T17:30:03+00:00

Sorry guys if this is a lame question, but the examples i found dont

  • 0

Sorry guys if this is a lame question, but the examples i found dont quite work the way I want

What I’m tryint to achive is send any web site request for products to “producto.php” but keeping the descriptive URL for the search engines.

This is the .htaccess I have

RewriteRule ^en/products(/)?$ /en/products/tactical/ [R]
RewriteRule ^es/productos(/)?$ /es/productos/tactico/ [R]

RewriteRule ^en/products/tactical(/)?$ /app/view/productos.php
RewriteRule ^en/products/rescue(/)?$ /app/view/productos.php
RewriteRule ^en/products/diving(/)?$ /app/view/productos.php

RewriteRule ^es/productos/tactico(/)?$ /app/view/productos.php
RewriteRule ^es/productos/rescate(/)?$ /app/view/productos.php
RewriteRule ^es/productos/buceo(/)?$ /app/view/productos.php

This works, but is difficult to maintain. I cannot find how to convert the three ^en/products/tactical(/)?$, ^en/products/rescue(/)?$, ^en/products/diving(/)?$ to just one rule. I could not make it work with the typical /[A-Za-z], probaply because I’m not sure how to use it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:30:04+00:00Added an answer on May 16, 2026 at 5:30 pm
    RewriteRule ^en\/products\/([a-zA-Z]+)\/?$ /app/view/productos.php?product=$1
    

    What would pass string between slashes as a parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for the wall of text guys but this one requires expliaining, way too
Hey guys sorry this is a pretty long question but I cannot call printPASSInfo()
Edit: Sorry guys, but I wasn't seeing this behavior when I came into work
Sorry for this not being a real question, but Sometime back i remember seeing
Sorry for this guys, but I really am unlucky today. Please help, my problem
Sorry guys, if this is a stupid question. I have a set of integers
Hey guys sorry to ask but i need help with this query please I've
Sorry guys, I posted this earlier today where my add as linked images were
I could be not more sorry guys - the question was a very wrong
Hello guys sorry if the question looks stupid to you. i have 3 tables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.