Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-04 23:22:54

bbr322
Member
Registered: 2008-01-04
Posts: 11

[Resolved]Some permalinks work, but some not.

When I use the buildin permalinks rule “/year/month/day/title”, some links don’t work. Click the link, it said “404 Not Found”.

Other permalinks format, like “?=messy”, “/id/title” work fine.

It’s so strange, any ideas? Thanks.

Resolved check here: http://forum.textpattern.com/viewtopic.php?pid=167701#p167701

Last edited by bbr322 (2008-01-07 12:07:57)

Offline

#2 2008-01-05 06:30:53

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [Resolved]Some permalinks work, but some not.

bbr322

Is this on a live site somewhere? If so, can you post some example links that are not working.


Steve

Offline

#3 2008-01-05 19:48:20

littletinyfish
New Member
Registered: 2008-01-05
Posts: 1

Re: [Resolved]Some permalinks work, but some not.

I just installed TXP and have been working with it seriously only recently. My permalinks aren’t working either. Check them out at http://www.littletinyfish.com and let me know if there is something I’m doing wrong.

I suspect it might have to do with the permissions I’ve put on my directories, but apart from creating them all and setting the permissions all myself, I’m not seeing a way to keep the standard at 0777.

Offline

#4 2008-01-05 20:06:18

bbr322
Member
Registered: 2008-01-04
Posts: 11

Re: [Resolved]Some permalinks work, but some not.

I setup apache2 on my desktop, so…

One of brokan links is: http://localhost/blog/2007/09/19/say-bye-to-flickr.html

No matter what url title is, even change to “asdf”, this post’s permalink still don’t work.
And only with “/year/month/day/title” permalinks format.

To littletinyfish:

You should check mod_rewrite of Apache, make sure it loaded.

Offline

#5 2008-01-05 23:50:45

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

Re: [Resolved]Some permalinks work, but some not.

bbr322 wrote:

One of brokan links is: http://localhost/blog/2007/09/19/say-bye-to-flickr.html

Are you using gbp_permanent_links? You’d better ask in the plugin thread then.

Offline

#6 2008-01-06 00:00:41

bbr322
Member
Registered: 2008-01-04
Posts: 11

Re: [Resolved]Some permalinks work, but some not.

No, “/year/month/day/title” is buildin format.

BTW, I still don’t know how to make a permalinks rule like “/year/month/title-like-this.html”.

Thanks for urs reply.

Offline

#7 2008-01-06 00:09:10

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

Re: [Resolved]Some permalinks work, but some not.

The /year/month/day/title permanent link mode should give you this url: http://localhost/blog/2007/09/19/say-bye-to-flickr. It doesn’t add .html, that’s why I thought you were using that plugin.

If you insist on adding .html to your URLs, you’d better have a look at gbp_permanent_links, it’s possible that the plugin can do this (but I’m not sure).

Offline

#8 2008-01-06 00:13:53

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

Re: [Resolved]Some permalinks work, but some not.

littletinyfish

If you set your permanent link mode to messy, it will work. http://www.littletinyfish.com/article/4/the-struggle-continues doesn’t work, but http://www.littletinyfish.com/index.php?id=4 does.
What do diagnostics say?

Offline

#9 2008-01-06 00:17:32

bbr322
Member
Registered: 2008-01-04
Posts: 11

Re: [Resolved]Some permalinks work, but some not.

I set post’s url title as “say-bye-to-flickr.html”, so it show as like that.

With gbp_permanent_links, I can build a rule like “/year/month/title”, but this plugin will remove “.” (dot) in url title.

Offline

#10 2008-01-06 02:04:58

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

Re: [Resolved]Some permalinks work, but some not.

Ah, I see. I never knew that was possible, but it seems to work fine. Though I don’t understand why you would want the .html extension…

When you say ‘some permlinks work, some don’t’, can you give a couple of examples that work and also a couple of examples that don’t work? I suppose you won’t have two articles on the same date with the same title, do you?
And did you think of disabling gbp_permanent_links (otherwise it might interfere)?

Offline

#11 2008-01-06 02:49:29

bbr322
Member
Registered: 2008-01-04
Posts: 11

Re: [Resolved]Some permalinks work, but some not.

Because I’m moving from Blogger, so.

Yes, posts’ title are all unique.
And as I said before, even change the url title to “asdf”, specific permalink still don’t work, so I think it have no connention what title is.

My TXP work on my desktop now, maybe I should reinstall apache2?…

Offline

#12 2008-01-06 03:12:49

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

Re: [Resolved]Some permalinks work, but some not.

FAQ and FAQ

Disable gbp_permanent_links, and make sure that your preferences are set to use the correct permlink scheme.

Offline

Board footer

Powered by FluxBB