Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-17 21:54:20

schizophraniac
New Member
Registered: 2006-03-17
Posts: 2

None of my internal links work

Okay I’m pretty new to txp and I’m trying to make a site but it’s just not working out to well for me. I’ve set up my home pc with an apache server on it, php, mysql and I got txp working. I found and set up a template that I liked b/c I couldn’t take the time to design my own site. I got everything working except when I click on a link on the top navigation structure my browser tells me that the page doesn’t exist. I have a main page and I can post articles on it but when I try to click on the link to go the “about” page it just tells me that page doesn’t exist.

For instance, when I type www.mysite.com it would bring up the home page, but if were to type in www.mysite.com/about it just tells me that it isn’t there. I know that txp is supposed to generate those pages so that is where I am lost. Perhaps I set up my server wrong or maybe I’m doing something wrong in txp. And yes I have read the faq and searched the forums, I understand the idea behind sections and how they work, I just can’t get them to work. I’m really new to this but it would be extremely benificial for me to learn textpattern, I just don’t have the money to use a live server. So if someone could please help educate me I would love you forever.

Offline

#2 2006-03-17 22:53:40

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: None of my internal links work

<a href=“http://textpattern.com/faq/66/404-error-when-linking-to-article-pages”>FAQ</a>.

You might need to modify the .htaccess in your site’s root and add a rewrite rule. (Also, make sure you have mod_rewrite installed and turned on.)

Last edited by Elenita (2006-03-17 22:54:54)

Offline

#3 2006-03-17 22:54:00

Nell
Member
From: Mexico City, Mexico
Registered: 2005-06-21
Posts: 48

Re: None of my internal links work

Is this what you are getting?

Offline

#4 2006-03-18 03:07:44

schizophraniac
New Member
Registered: 2006-03-17
Posts: 2

Re: None of my internal links work

Okay so I messed with my .htaccess file a bit and got it set right as well as the httpconfig file but I am still not getting any pages other than the home page. I switched to messy links and it didn’t work either. But I think the reason for that is because the template is setup for clean links. I’m not very familiar with how to write the links so I need a little help, is there a good article I can read?

For example. I have a form called topnavbar but the links are set up in section/id/title form. How would I make a link to an about section using messy links? I know this probably seems elementary, but everybody’s got to start somewhere. Thanks for the help.

Offline

#5 2006-03-18 03:20:57

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: None of my internal links work

I <a href=“http://forum.textpattern.com/viewtopic.php?pid=102905#p102905”>dissected how messy URL’s are formed</a> recently. Not the most thorough thing out there, but might be enough to get you started.

Offline

Board footer

Powered by FluxBB