3

In Joomla 3.4 want to redirect this page:

https://www.portal-gestao.com/component/k2/1422-como-i...%C3%A9tica-na-sua-empresa.html

To this:

https://www.portal-gestao.com/item/1422-como-i...%C3%A9tica-na-sua-empresa.html

Using Compontent - > Redirect, I added the following redirect:

/component/k2/1422-como-i...ética-na-sua-empresa.html

Redirect to:

https://www.portal-gestao.com/item/1422-como-i...%C3%A9tica-na-sua-empresa.html

But this did not work.

Then I added in .htaccess:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.portal-gestao.com
RewriteRule ^component/k2/(.*)$ https://www.portal-gestao.com/item/$1 

But this also doesn't work.

Help anyone?

  • "RewriteRule ^/component/k2/(.*)$ /item/$1", maybe? – Ville Niemi Jun 12 '15 at 14:49
3

Just enter the url you want to rewrite in the browser and after that directly check the rewrite component of joomla. If its active the link appear and you can set a redirect location.

Hit up the adress should show it in redirect-component as 404 page by date.

0

Component -> Redirect expects you to enter the full urls for both the source and the destination.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.