Custom .HTACCESS (Apache; Remove Extension, Trailing Slash, etc)
$10-30 USD
K zaplacení v momentě doručení
Hi Developers,
I currently have a dedicated server running on Apache (with Plesk as its control panel) and I am in need of a custom .HTACCESS file that will perform the following tasks for my basic HTML-based website...
1) Remove the trailing slash from ALL directories ...
E.g., [url removed, login to view] should be [url removed, login to view]
2) 301 all [url removed, login to view] and [url removed, login to view] files within ALL directories to the parent directory (including the root folder)
E.g., [url removed, login to view] should 301 to [url removed, login to view]
E.g., [url removed, login to view] should 301 to [url removed, login to view]
*Make sure it 301's only 1 LEVEL up so if its in a subdirectory such as *.com/directory/subdirectory/[url removed, login to view] it will 301 to *.com/directory/subdirectory and NOT *.com/directory
3) I've read that doing this will require additional rules inside of the .HTACCESS file to make sure everything is secure; please add whatever it takes to secure the site and its .HTACCESS
IMPORTANT: I 301 all variants of my domain to the https:// version (without the www.) so please keep that in mind! For example; [url removed, login to view], [url removed, login to view] AND [url removed, login to view] are all 301'd to [url removed, login to view] <---- VERY important.
*I will not release funds until proven to work; I am yet to find a solution that works so I hope you can accomplish this. Thank you!
Identifikační číslo projektu: #16450342
O projektu
5 Freelnceři na tento projekt zveřejňují nabídky v průměru $27
Hello Sir, I can write the htaccess code which will remove all the trailing slash and the url will be seo friendly. I am expertise on it. I can start the work now. Regards, Sam