Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-02-02 11:39:36

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Problems with old URI - How fix it?

One of my clients recently switched to Textpattern form Joomla.

The old URI looks like this:

http://www.domain.it/index.php?option=com_content&view=article&id=47&Itemid=54&lang=en

Is there a .htaccess rule that solve this? Even if the pages are visible maybe because the URI pass the ID
variable.

Offline

#2 2011-02-02 12:28:01

~cXc~
Plugin Author
Registered: 2010-12-27
Posts: 39

Re: Problems with old URI - How fix it?

What is the problem caused by the old link?
What is the result when you click on the link?
What is the result you expect from the link?

Last edited by ~cXc~ (2011-02-02 12:32:52)

Offline

#3 2011-02-02 13:41:59

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Re: Problems with old URI - How fix it?

What is the problem caused by the old link?

Google Webmaster Tool reports them as 404 not found

What is the result when you click on the link?

I view the article ID tha match with the query string

What is the result you expect from the link?

Every link like that should redirect to the home page. But I’m not sure it’s the right way.
Any suggestion?

Last edited by wornout (2011-02-02 13:42:20)

Offline

#4 2011-02-02 19:26:31

CeBe
Plugin Author
From: Caen - Fr
Registered: 2010-06-25
Posts: 345
Website

Re: Problems with old URI - How fix it?

wornout a écrit:

Google Webmaster Tool reports them as 404 not found
[…]
I view the article ID tha match with the query string

Huh ? Weird.
If you see them, why doesn’t Google ? Are you 100% sure that they are the same pages ?

Anyway, a rough directive for the .htaccess could be RewriteRule .*(com_content).*$ / [R=301,L] but maybe better if the old article ID matches the new one.

Offline

Board footer

Powered by FluxBB