Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2023-03-04 15:46:02

lindabb
Member
Registered: 2023-02-17
Posts: 132

click on title to view

Hello,
I section called news, and has one page called news, and I have over 20 articles all pointing to news section. (grouped under one section news)
list of those articles listed on the front page (default)
1-News one (link)
2-News two (link)
3-News three (link)

when I click on any of those links I get 404 error , looks like those links pointing somewhere
the url shows:
http://localhost/textpattern/mynewstitle1
any idea if this works with textpattern? or I have to have one section for each news ?

Thank you

Offline

#2 2023-03-04 17:18:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,093
Website GitHub Mastodon Twitter

Re: click on title to view

I take it that you have /title for the url schema.
It may be that the htaccess rules forcing clean urls do not work on your localhost.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2023-03-06 03:30:42

peterj
Member
From: Melbourne, Australia
Registered: 2005-06-02
Posts: 99

Re: click on title to view

Maybe try messy URLs to see if that works.

When I have this sort of problem I check that the htaccess file doesn’t have any of your webhost’s junk in it (if it does replace with a fresh one). The other culprits are the absolute paths specified in Preferences > Admin. These should be something like: /Users/peter/Sites/localsitename/files (using Mamp Pro)

Offline

#4 2023-03-06 18:56:43

lindabb
Member
Registered: 2023-02-17
Posts: 132

Re: click on title to view

Thanks for all replies,
colak : you are correct I’m using title url schema.
I don’t have any extra in .htaccess (I have default .htaccess as installed) , no change.

I found work around by passing /textpattern/news/title and worked , created html link with title instead of txp link

Thank you all.

Last edited by lindabb (2023-03-06 18:57:49)

Offline

Board footer

Powered by FluxBB