Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Joomsef and using htaccess 301 redirect
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Joomsef and using htaccess 301 redirect

Joomsef and using htaccess 301 redirect 17 years, 4 months ago #2957

Hi,

After the setup of Joomsef I would like to setup some redirects but I have trouble defining the right rules.

1.

old url in google : www.domain-name/contact-pagina/
new url joomsef : www.domain-name/contact-pagina.html

2.

old url in google : www.domain-name/contact-pagina/speltakken/
new url joomsef : www.domain-name/contact-pagina/speltakken.html

Added to my .htaccess

redirect 301 /contact-pagina/ www.domain-name/contact-pagina.html
redirect 301 /contact-pagina/speltakken/ www.domain-name/contact-pagina/speltakken.html

1. The first old Url gets redirected from Google to the new location just fine.
2. The second url not it produces a url like www.domain-name/contact-pagina.htmlspeltakken/ which gives a 404 error.

At this moment the .htaccess 301 rules have been removed not to mess up google even more.....
  • Page:
  • 1
User Login Empty