Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-24 15:19:42

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Only messy urls works after database restore

I made a backup of my site (using Plesk, that’s what my provider provides) and restored the site afterwards (because I thought something was wrong) and now only messy urls work.

Is this a known problem and is there a way to resolve this?

Thanks in advance.

Offline

#2 2006-08-24 17:05:13

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Only messy urls works after database restore

Make sure the .htaccess file was restored into the root folder:

<pre>
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0
</pre>

Offline

#3 2006-08-24 18:08:31

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: Only messy urls works after database restore

Thank you, thank you, thank you! I was really worried that I messed things up.
I restored my old .htaccess (which was saved as .htaccess.sav in the root) and everything is fine!

Did I say ‘thank you’ already?

Offline

#4 2006-08-24 18:36:39

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Only messy urls works after database restore

:)

Offline

Board footer

Powered by FluxBB