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

  • SEARCH
  • Home
  • 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 4586636
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:40:00+00:00 2026-05-21T21:40:00+00:00

Ok so i am using opencart which is an open source shopping cart. I

  • 0

Ok so i am using opencart which is an open source shopping cart. I installed it here the problem is that when you click on anything and I mean anything the url goes from this

http://royaltyfreesoundbank.com/

to

http://royaltyfreesoundbank.com/index.php?route=product/category&path=18

so ultimately what is happening is that

/index.php?route=CONTROLLER/VIEW

which makes sense but the url is ugly and I was wondering if there was a way in htaccess that i can just make all the pages lose this middle portion and have it something like this

http://royaltyfreesoundbank.com/product/category&path=18

ideas anyone….thanks in advance

  • 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-21T21:40:01+00:00Added an answer on May 21, 2026 at 9:40 pm

    Here:

    # Turn on URL re-writing
    RewriteEngine On
    
    # Clean URLs
    RewriteRule ^(.+)/(.+)/([0-9]+)/?$   /index.php?route=$1/$2&path=$3    [NC,L]
    

    Then you would access it with urls like:

    http://example.com/category/product/354

    Note, however, that this is a rather broad rule which will match anyfolder/anyfolder/45 as well as known category/product names, so, you may want to tweak it to limit just to known categories.

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

Sidebar

Related Questions

I am using the opencart open source e-commerce website. The main problem I am
I have an online chair store which is using the open source e-commerce solution
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
How do you write clean URL's in OpenCart using their built in Router class?
I am using Opencart 1.4.9.4 is there a way that I can change my
Im using Open Cart version 1.4.9.2. I was host this and working more than
using file_get_contents , I open an Internet URL and get the contents of this
I am working on an ecommerce solution using opencart, that has a bunch of
I'm using OpenCart, and I have a series of AJAX calls that are hidden
I have downloaded and installed OpenCart v1.5.2.1. Now I'm using the default template in

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.