Webmastersite.net
Register Log In

Moving WSNLinks to a directory

Comments on Moving WSNLinks to a directory

ozgression
Beginner

Usergroup: Customer
Joined: Sep 10, 2003

Total Topics: 2
Total Comments: 6
Posted Dec 10, 2004 - 7:29 PM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Dec 11, 2004 - 12:08 AM:

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).
ozgression
Beginner

Usergroup: Customer
Joined: Sep 10, 2003

Total Topics: 2
Total Comments: 6
Posted Dec 11, 2004 - 12:15 AM:

Thanks Paul. Will give it a try.
ozgression
Beginner

Usergroup: Customer
Joined: Sep 10, 2003

Total Topics: 2
Total Comments: 6
Posted Dec 11, 2004 - 1:12 AM:

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...
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Dec 11, 2004 - 9:48 AM:

This is in the manual:

scripts.webmastersite.net/w...nks/wsnmanual/articles/213

ozgression
Beginner

Usergroup: Customer
Joined: Sep 10, 2003

Total Topics: 2
Total Comments: 6
Posted Dec 11, 2004 - 4:33 PM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Dec 13, 2004 - 5:07 PM:

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).
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.