Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-09-19 16:37:21
- claudine
- New Member
- Registered: 2010-09-19
- Posts: 3
non-working links when copying textpattern cms to new machine
Hi,
i have been using textpattern 4.0.8 on an old machine for quite some time, laying off to switch to a new version and a new computer for as long as possible. This week i finally made the switch to textpattern 4.2.0 – i imported all the data by simply copying the database textpattern created on my old machine to my new one.
so far so good, the blog looks exactly as it should and i can navigate via the older/newer links as well.
BUT these are the only internal links that work. when i click on a blog entry’s title or on a category the links do not work, they always give me the 404 error. is there some step i missed? what can i do to make those links work as well?
a typical non-working link is:
http://localhost/claudine/textpattern-4.2.0/articles/?c=todolist
(i also tried replacing 4.2.0 with 4.0.8 but that results in 404 as well).
the only version of these links that work are:
http://localhost/claudine/textpattern-4.2.0/?pg=2 (and 3,4…)
any pointers would be appreciated.
thanks, claudine
Last edited by claudine (2010-09-19 16:38:09)
Offline
Re: non-working links when copying textpattern cms to new machine
In other words, your site root is http://localhost/claudine/textpattern-4.2.0/, right? Did you copy the .htaccess file over when you moved the site? What do your diagnostics say (Admin->Diagnostics)?
Code is topiary
Offline
#3 2010-09-20 07:27:24
- claudine
- New Member
- Registered: 2010-09-19
- Posts: 3
Re: non-working links when copying textpattern cms to new machine
thanks for answering!
yes, http://localhost/claudine/textpattern-4.2.0 is my root. htaccess exists and looks exactly the same on the new installation as on the old one.
the diagnostics say that
- the apache module mod_rewrite is not installed (edit: just enabled mod_rewrite, does not change the error)
- test for clean URLs failed
Last edited by claudine (2010-09-20 07:50:41)
Offline
Re: non-working links when copying textpattern cms to new machine
Did you restart Apache?
Edit: Is the Apache configuration on the new machine the same as the old one? Last time I changed machines I had to play with Apache config files to get clean URLs working again.
Last edited by jsoo (2010-09-20 12:01:42)
Code is topiary
Offline
#5 2010-09-20 17:52:18
- claudine
- New Member
- Registered: 2010-09-19
- Posts: 3
Re: non-working links when copying textpattern cms to new machine
i also installed a new apache2 version, but it appears to be the same setup. i’ll have a look at the config files (finally got the messy URLs working at least, that’s a start). thanks for the pointers!
Last edited by claudine (2010-09-20 17:52:50)
Offline
#6 2010-09-20 19:03:08
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: non-working links when copying textpattern cms to new machine
If you check your diagnostics (high detail) in both sites, you can see the differences in PHP extensions and Apache modules. That might give you a pointer.
Offline