Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-24 00:03:23

box
New Member
Registered: 2007-05-11
Posts: 6

Advice on Url Mapping and Search Engine Article Indexing

If I have an article published on a site and it’s title is “Dogs and Cats”, the default permanent link seems to be generated with the form:

domain/article/n/Dogs-and-Cats

Google picks these up and I’m wondering what if I want to change the title of an article? The link will get broken and no longer work. The client browser would then get redirected to my site’s url not found page, which is at least a customized not found page.

Can I map such changed urls somewhere, so that if I change the article’s title , I can specify the new url in some kind of mapping configuration so users will get redirected to the page they’re interested in?

Perhaps this is outside the scope of Textpattern and it can be done with some sort of Apache configuration more appropriately? If Textpattern has some way to do it, that would be nice though.

Is it possible to stop Google and other SEs from indexing individual article pages this way?
For instance can’t Textpattern be made to produce less friendly article urls such as:

domain/article/n or domain/articleId=n or something like that

Then I could change the article title and not worry about breaking the way SEs index my article pages.

I’m aware of the permalink tag, can this be used to get the effect I want?

I found an Asian prostitution site that is just an amazing piece of content management. The developer has solved all the cm issues I need, I contacted the guy and asked him what was behind it. He said he uses WordPress. I would like to mention the url here, but I think your moderators would object, because this site is very hard. Perhaps in in the interests of furthering our collective knowledge?….perhaps not.

Anyway this guy’s articles just get indexed by the SEs with a generic form of url like domain/article/n as I’ve described above. He changes his article content all the time. I’d like to know how to do this in Textpattern. I don’t like WordPress.

Also it would be neat to be able to have article permanent links come out as intra page links with a #, because on one of my sites all the articles are on the front page. Is this possible?

Offline

#2 2008-01-24 00:19:47

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Advice on Url Mapping and Search Engine Article Indexing

Well if you want to stop indexing, then use a robots.txt. If you want to redirect to a new article, add this in your htacces:

Redirect 301 /article/55/dogs-and-cats http://example.com/article/new-article-title

Offline

#3 2008-01-24 00:21:13

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Advice on Url Mapping and Search Engine Article Indexing

If you change the title of an article, the url_title remains the same unless you change/empty it manually.

Offline

#4 2008-01-24 16:58:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Advice on Url Mapping and Search Engine Article Indexing

box wrote:

For instance can’t Textpattern be made to produce less friendly article urls such as:

domain/article/n or domain/articleId=n or something like that

gbp_permanent_links or use messy.

Offline

#5 2008-01-24 22:21:34

box
New Member
Registered: 2007-05-11
Posts: 6

Re: Advice on Url Mapping and Search Engine Article Indexing

Thanks very much for all this advice.

I think I’m definately sticking with Textpattern for my next few sites, with such a helpful forum.

The .htaccess redirect 301 tip is excellent news, thanks for that, that’s an excellent workaround for one of my problems.

Regarding clean urls vs. messy urls, it appears there are 2 choices for permlinks according to the Wiki docs for clean urls, hypenated and camel case

I suppose the utimate control would be to have some clean and some messy urls and the SEs only index what you have.

This plugin looks pretty good too, may be I can mix messy and different permlink clean url styles with that.

If I change the title of an article, I’ve just checked as someone said, it appears not to break the previous permlink. How do I deliberately change the permlink though to make it match the new title?

I suppose if I delete the whole article then create it again with the new title might do it

Offline

#6 2008-01-24 22:38:10

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Advice on Url Mapping and Search Engine Article Indexing

box wrote:

If I change the title of an article, I’ve just checked as someone said, it appears not to break the previous permlink. How do I deliberately change the permlink though to make it match the new title?

Under ‘Advanced options’ in the ‘Write’ screen is a field ‘URL-only title’. It doesn’t change when you change the article’s title, only when you empty this field and save the article with the new title, a new URL-only title is created. Or you can enter whatever you want for it.

Offline

Board footer

Powered by FluxBB