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
107 posts
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
10509 posts
admin
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
107 posts
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:
https://stackoverflow.com/questions/14710314/htaccess-redirect-from-subfolder-to-domain-name
Brian Crussel
107 posts
Sun Mar 11, 18
6:39 PM
Bump
Tim - PicturesPro.com
10509 posts
admin
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 - 2018 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close