Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2007-06-04 23:11:09
- Shaliza
- Member
- Registered: 2006-01-22
- Posts: 59
Re: rename the "textpattern" folder
Fantastic! Thanks.
Offline
Re: rename the "textpattern" folder
so are you saying that all you have to do to change the admin directory is make a symbolic link? i read the wiki article and it seems like a lot of work compared to doing this in ftp. except i don’t know which programs on pc make symbolic links
Offline
Re: rename the "textpattern" folder
actually, I do it a different way now. This method stopped beiing reliable.
Add this line to your .htaccess file
RewriteRule ^yourDirectoryName/?(.*)$ /textpattern/$1 [R=301,L]
replace: yourDirectoryName with the directory name you want.
Offline
Re: rename the "textpattern" folder
mrdale wrote:
actually, I do it a different way now. This method stopped beiing reliable.
Add this line to your .htaccess file
RewriteRule ^yourDirectoryName/?(.*)$ /textpattern/$1 [R=301,L]
replace: yourDirectoryName with the directory name you want.
and what’s the disadvantage of this against going about the other methods in textbook which are a ton of work?
Offline
Re: rename the "textpattern" folder
mrtunes wrote:
and what’s the disadvantage of this against going about the other methods in textbook which are a ton of work?
One would want to hide the txp folder for security. The rewrite rule does not provide that
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline