First go to your settings and change the directory url (and upload path) listed there to the new location. Then simply move all the files (download from the old directory, then upload to the new directory, then delete the old).
Ok. It worked. I have one problem, though. when i type domain.com/directory i get an error. When I type domain.com/directory/ it works fine. Is there a way to get the directory working without the trailing slash?
Because the changes are specific to you. I can't know what your rewritebase value would be, and since .htaccess isn't a dynamic file I can't fill it in as a variable. I could have the script rewrite it I suppose, but then you'd have to chmod it first still and it could mess up other customizations (many people could be doing non-WSN stuff in their htaccess).
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Moving WSNLinks to a directory
Beginner
Usergroup: Customer
Joined: Sep 10, 2003
Total Topics: 2
Total Comments: 6
I currently have WSNLinks installed on the "main" part of my site eg. domain.com and i want to move it to domain.com/directory/
What is the simplest way of doing this? I want to continue using the current database (so a fresh install would wipe the data?).
Thanks in advance for your help...
Tim
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
First go to your settings and change the directory url (and upload path) listed there to the new location. Then simply move all the files (download from the old directory, then upload to the new directory, then delete the old).
Beginner
Usergroup: Customer
Joined: Sep 10, 2003
Total Topics: 2
Total Comments: 6
Thanks Paul. Will give it a try.
Beginner
Usergroup: Customer
Joined: Sep 10, 2003
Total Topics: 2
Total Comments: 6
Ok. It worked. I have one problem, though. when i type domain.com/directory i get an error. When I type domain.com/directory/ it works fine. Is there a way to get the directory working without the trailing slash?
Cheers...
Forum Regular
Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 23
Total Comments: 161
This is in the manual:
scripts.webmastersite.net/w...nks/wsnmanual/articles/213
Beginner
Usergroup: Customer
Joined: Sep 10, 2003
Total Topics: 2
Total Comments: 6
Ok... it appears to have worked.
BTW, If the htaccess file needs editing to get it working properly, why not just release the htaccess with the required changes in it?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Because the changes are specific to you. I can't know what your rewritebase value would be, and since .htaccess isn't a dynamic file I can't fill it in as a variable. I could have the script rewrite it I suppose, but then you'd have to chmod it first still and it could mess up other customizations (many people could be doing non-WSN stuff in their htaccess).