Cancelled

Apache Rewrites that Remove Trailing Slashes on URLs

I have a static website with flat HTML files. The files and folders are organized like this:

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

name1 (folder)

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

name5 (folder)

[url removed, login to view]

[url removed, login to view]

I need the URL to the [url removed, login to view] page to appear like this: [url removed, login to view]

I need the URL to the [url removed, login to view] page to appear like this: [url removed, login to view]

Likewise the URL to [url removed, login to view] should appear like this: [url removed, login to view]

And the URL to the [url removed, login to view] page should look like this: [url removed, login to view]

NOTICE THERE IS NO TRAILING SLASH AT THE END OF THE URL. I am using shared hosting where Apache automatically adds a trailing slash at the end of a directory, and I don't have the ability to change that.

I need an .htaccess file that causes the pages to be redirected to the desired URLs for all .html files, as shown above. I also need non-www URLs to redirect to URLs with www.

If you bid on this project, please an example of your .htaccess work. By that, I mean list URLs to a website that redirect to new URLs.

Here is a better representation of the folder and file organization:

index.html
name1.html
name5.html
name1 (folder)
-name2.html
-name3.html
-name4.html
name5 (folder)
-name6.html
-name7.html

Skills: Apache

See more: remove trailing slash htaccess, shared folder, htaccess apache, apache redirect domain, apache htaccess redirect, remove index, html adds, using htaccess change url, apache redirect, htaccess redirect remove folder, remove redirect htaccess, htaccess remove html, trailing, change url using htaccess, directory urls, shared files, apache htaccess, non hosting, redirected url, htaccess html file, apache url, htaccess redirect apache, htaccess redirect page page, url rewrites, redirect htaccess

About the Employer:
( 27 reviews ) Tacoma, United States

Project ID: #1270912

2 freelancers are bidding on average $125 for this job

innovativesachin

Hi, lets start. I am Htaccess expert

$200 USD in 5 days
(0 Reviews)
0.0
pranky

Greetings, My expert area. Regards, Pranky

$50 USD in 1 day
(0 Reviews)
0.0