Redirect URL's from subfolder to root directory

Multi tool use
Multi tool use


All the files and subfolders that used to make up our old Flash website do not exist anymore and so the URL paths to all the pages are broken.



We could use help writing a Redirect for specific URL's as well as catch all rewrite rule for subfolders to redirect to the base domain / URL.



ex.) Specific URLs



Any file path or image/asset or page url within these subfolders redirect to root domain



New site is built with the latest version of Wordpress / Apache / PHP



EDIT



Current .htaccess code



The below .htaccess rewrite rule will work for you



The online working code for the same is at .htaccess tester



The above code will



Redirect specific url's like below to root domain



Redirect particular subfolders like below to room domain



You can use "https://wordpress.org/plugins/simple-301-redirects/" Simple 301 Redirects plugin for the same.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

fG,HyK,xg1dT1V8ju0,W7Op 0 5xkhp z9mHDBBnxgrQqFio1Ux82wM
A,PQHH icE8XK82AL3ul,HXmPgApwOGHiGMlnq0WoKGxvUYg,YK2SPptosB27R,VyvNIHLt15 gex d9cMJ,flB

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận