To post a new support question, click the Post New Topic button below.
Current Version: 4.8.5 | Sytist Manual | Common Issues | Feature Requests
Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.
Moving From Sub Folder To Root Folder Question
B
Brian Crussel
160 posts
Thu Mar 08, 18 1:41 PM CST
I have been using my site for quite a while now. If I move it from the sub folder to the root, will I break all my sharing links that now exist? Do I need some kind of redirect in my htaccess file? Just wanted to make sure I will not tork anything too badly before I do it.
Tim - PicturesPro.com
16,151 posts
(admin)
Fri Mar 09, 18 10:55 AM CST
Yes the shared links would be broken. And to do a redirect from the old links to the new, you would need to add a redirect for each page in your .htaccess file.
Redirect 301 /old/path/to/page/ /new/path/to/page/
And if you have done anything with the page designer, those image link will be broken and you would need to edit those page and reupload the photos to the page designer.
Redirect 301 /old/path/to/page/ /new/path/to/page/
And if you have done anything with the page designer, those image link will be broken and you would need to edit those page and reupload the photos to the page designer.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
B
Brian Crussel
160 posts
Fri Mar 09, 18 4:10 PM CST
Thanks Tim. One more question.
If I put this into my sub folder as a .htaccess file would it work to redirect all of the links that are posted on other sites? All of my Sytist files would have been drug to the main directory. I would just place this in the old folder by itself.
RewriteEngine On
RewriteRule ^(.*)$ /$1 [R=301,L]
I found this here when looking around:
https://stackoverflow.com/questions/14710314/htaccess-redirect-from-subfolder-to-domain-name
If I put this into my sub folder as a .htaccess file would it work to redirect all of the links that are posted on other sites? All of my Sytist files would have been drug to the main directory. I would just place this in the old folder by itself.
RewriteEngine On
RewriteRule ^(.*)$ /$1 [R=301,L]
I found this here when looking around:
https://stackoverflow.com/questions/14710314/htaccess-redirect-from-subfolder-to-domain-name
B
Brian Crussel
160 posts
Sun Mar 11, 18 6:39 PM CST
Bump
Tim - PicturesPro.com
16,151 posts
(admin)
Mon Mar 12, 18 6:06 AM CST
I believe the better option shown on that page would be to move the files into the root and add this to the htaccess file
RewriteEngine on
RewriteRule ^subfolder/(.*)$ /$1 [R=301,L]
Leaving it in the sub directory would just cause problems.
RewriteEngine on
RewriteRule ^subfolder/(.*)$ /$1 [R=301,L]
Leaving it in the sub directory would just cause problems.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
Please log in or Create an account to post or reply to topics.
Loading more pages