× Here you can get community support related to ReDJ.

Short URLs for Virtuemart 2

  • userck1980
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 5 months ago #1147 by userck1980
Short URLs for Virtuemart 2 was created by userck1980
Hello,

I’m looking for an extension for the Shop Component Virtuemart to make long URLs shorter.

My sample menu structure in Joomla: (also category structure in Virtuemart)

1 Menuitem (Category): Hockey
1.1 Submenu (Category): Skates
1.1.1 Submenu (Category): Bauer Vapor Skates
1.1.1.1 Product Detail: Bauer Vapor APX2

From URL: /hockey/skates/bauer-vapor-skate/bauer-vapor-apx2.html
To URL: http://{siteurl}/bauer-vapor-apx2.html

(From URL: ^hockey/(.+)$ - To URL: http://{siteurl}/$1 - And so on...)

I want to cut all categories and product detail urls.
{siteurl}/skates.html
{siteurl}/bauer-vapor-skates.html

How would this example look with ReDj?

Does the rewrite of the URL impact on the breadcrumbs? Or are they output by default?

Example: Hockey > Skates > Bauer Vapor Skates > Bauer Vapor APX2

Do I need this requirement, the Internal Linking (200) - Enterprise version?

Is here's a duplicate content issue?

I am a beginner ;)

Thank You.

Joomla 2.5.X
Virtuemart 2.0.X

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 11 years 5 months ago #1150 by admin
Replied by admin on topic Short URLs for Virtuemart 2
Ok,
to use ReDJ as you wish you need first to satisfy some conditions:

- The destination URL (ReDJ does redirections) must exists, no matter if internal or 301 redirect.
- You can redirect multiple URLs with a single rule, but in the rule you must specify a regular expression that matches all the URLs.

So, I suggest you to forget about Enterprise and internal redirect. Just download the Community and try if can work.

I can help you to build complex rules, but you should provide me an example of EXISTING URL that you would like to make short, and the shortest version. In your example is not so clear if /hockey/skates/bauer-vapor-skate/bauer-vapor-apx2.html is already an existing URL, and from the rule it seems you want to redirect from the longest to the shortest one...

Kind regards,
Luigi
Last edit: 11 years 5 months ago by admin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.138 seconds