Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-10-23 18:38:45
- taproot
- New Member
- Registered: 2008-10-23
- Posts: 2
moved textpattern to a new server but links are broken
Hi,
I moved textpattern to a new host, the index.php file comes up fine and all the images and links are present, however each link comes up as 404 not found. I updated the config file with the new path info. Aside form the config file are the link paths set in the database anywhere? I should note I am testing this with a hosts file hack as I have not moved DNS yet, but that should not break the links as far as I know. Really seems like I am missing or messed up a path setting.
Cheers,
TR
Offline
Re: moved textpattern to a new server but links are broken
Did you move the .htaccess file? sometimes it’s hidden when using ftp programs.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#3 2008-10-23 18:59:57
- taproot
- New Member
- Registered: 2008-10-23
- Posts: 2
Re: moved textpattern to a new server but links are broken
Well I moved txp-.htaccess which seems to work as an intended. There was a default .htaccess file in the directory before I moved which I deleted. do I need to rename it minus the txp- , I have never seen a prefix on a .htaccess file before. The file looks to have been modified a bit too. I did not do the original install, but I see stuff has been commented out. Perhaps that is part of it?
#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
Offline
Re: moved textpattern to a new server but links are broken
The commented-out lines can be useful for some people dependent on their host server type and settings. For most people just using it as it comes usually does the job.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: moved textpattern to a new server but links are broken
But it won’t work if it’s named txp-.htaccess
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline