Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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>
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
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
Re: Only messy urls works after database restore
:)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline