× Here you can get community support related to ReDJ.

Redirect .htm to .html in Joomla 2.5

More
10 years 2 months ago #2143 by KB
Hello,

Newbee here trying to get .htm to redirect to .html in Joomla 2.5.

Background - I have a very old site with .htm extensions but decent page ranks. I want to use 301 redirect to .html pages on a new Joomla site.

I enter the following in ReDj redirect
From URL: /pagename.htm
To URL: /category/pagename.html

This redirects to the home page (/index.php) instead of /category/pagename.html.

When I enter the following in ReDj redirect with .html instead of .htm it redirects to the correct page.
From URL: /pagename.html
To URL: /category/pagename.html

Anyone have any ideas here? Thanks!

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

More
10 years 2 months ago #2145 by admin
Replied by admin on topic Redirect .htm to .html in Joomla 2.5
Hi,
to avoid loops the rule should be:
From URL: /pagename.htm$
To URL: http://{siteurl}/category/pagename.html
Request only: true (checked)

If this not solves, send me full URL to test (you can send me an email if you prefer).

Kind regards,
Luigi

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

Time to create page: 0.078 seconds