Menu Content

Support

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

Redirect old url to new sef url doesn't work...
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Redirect old url to new sef url doesn't work...

Redirect old url to new sef url doesn't work... 11 years, 2 months ago #36998

I have upgraded my site to Joomla 2.5 and Virtuemart 2.
I migrated my database to the new standards so I don't have to make all new products etc.
So my product descriptions are from the old site and there are 2 old links to article's in the prod.description text.

In Joomsef these old links have now a SEF-url that says "content". Both old links to two different pages have the same SEF-url.

The new url to the article has a nice working SEF url and when I put the old non-sef url in the alias-field of the new url it still does not get redirected and it shows the global 404-page.

I spend all morning figuring this out and reading the manual but I can't get it to work. What am I doing wrong? What do I have to do to get it working...
The topic has been locked.

Re: Redirect old url to new sef url doesn't work... 11 years, 2 months ago #37014

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

Please post some examples of the old and new SEF URLs and their corresponding Real non-SEF URLs from JoomSEF's URLs Manager.
Thank you.
ARTIO Support Team
The topic has been locked.

Re: Redirect old url to new sef url doesn't work... 11 years, 2 months ago #37021

Hi, here some urls


This is an old url from the previous site that has been SEF-ed. The automaticly generated SEFurl has the value 'content'. This is the original non SEF URL: index.php?option=com_content&catid=7&id=5&view=article&Itemid=7
The OLD URL-record above is enabled and sef is turned of.

These are the URL's for the right article that I'm using now:

New SEF URL: infotips/inlijsten/uw-lijst-op-maat-gemaakt
Old non SEF URL: index.php?option=com_content&catid=16&id=28&view=article
ItemID: 267

Aliases for this record:
index.php?option=com_content&catid=7&id=5&view=article&Itemid=7
index.php?option=com_content&view=article&id=5:lijstopmaat&catid=7:maatwerk&Itemid=7
index.php?option=com_content&view=article&id=5&catid=7&Itemid=7
The topic has been locked.

Re: Redirect old url to new sef url doesn't work... 11 years, 1 month ago #37344

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
I'm sorry for the delay.

I've tested the Aliases and found out that Joomla 2.5 currently removes the "index.php" part from the URL when it gets handled by JoomSEF, so try removing the index.php from your Aliases, start with the "?" character, like this:
?option=com_content&catid=7&id=5&view=article&Itemid=7
?option=com_content&view=article&id=5:lijstopmaat&catid=7:maatwerk&Itemid=7
?option=com_content&view=article&id=5&catid=7&Itemid=7

That way the Aliases should be redirected to the SEF URL correctly.
ARTIO Support Team
The topic has been locked.

Re: Redirect old url to new sef url doesn't work... 11 years, 1 month ago #37367

Allright! Works now.
Thanks man!
The topic has been locked.
  • Page:
  • 1
User Login Empty