If you have a support question or comment, click the Post New Topic link below. Sytist Manual | Sytist Articles | Facebook Page.

Moving From Sub Folder To Root Folder Question

Please log in or Create an account to post or reply to topics.
Brian Crussel
Thu Mar 08, 18
1:41 PM
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
Fri Mar 09, 18
10:55 AM
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.
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Brian Crussel
Fri Mar 09, 18
4:10 PM
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:
Brian Crussel
Sun Mar 11, 18
6:39 PM
Tim - PicturesPro.com
Mon Mar 12, 18
6:06 AM
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.

Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Loading more pages
Loading more pages
Sign up for email promotions.
Your information is safe with us and won't be shared.
Thank you for signing up!
©2003 - 2017 Grissett, LLC. All Rights Reserved.
Loading More Photos
Scroll To Top
Close Window