Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-02-25 23:32:55

dreamer
Member
Registered: 2007-06-08
Posts: 242

404 error after migration

So my homepage works but that’s about the only thing that works with the site. All the interior pages get a 404 error page like so; http://www.capitaldebate.biz/about/press-releases

I’m not quite sure why?

Offline

#2 2011-02-25 23:54:53

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

Re: 404 error after migration

Did you move .htaccess as well? Messy URLs seem to work: http://www.capitaldebate.biz/?s=gallery

Offline

#3 2011-02-26 00:31:53

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: 404 error after migration

I did indeed. Here is what the .htaccess file looks like;

#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

AddHandler php5-script .php

Offline

#4 2011-02-26 00:57:12

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

Re: 404 error after migration

Maybe you will find a clue in this FAQ. If not, can you post the high diagnostics?

Offline

#5 2011-02-26 19:12:30

alan
Member
From: earth
Registered: 2006-04-20
Posts: 14

Re: 404 error after migration

What was your process for migration?

Offline

Board footer

Powered by FluxBB