Htaccess URL Rewrite and Error Page

I need some minor changes to the htaccess rewrite.

If you are not very good with rewrites do not bid on this project.

Pleas read carefully and be sure you understand the project before bidding.

1. The rewrite works fine until the url is entered with a trailing slash.

I need it to work with or with out the slash and going to the same url.

Here is an example:

A form sends the input to the the result page.

The url looks like this: [url removed, login to view]

The url is rewritten to [url removed, login to view]

If a url is entered with a trailing slash at the end like this [url removed, login to view]

An error occurs and the function does not work.

The rewrite should work with all forms of domains, like .com, .net, .info, .org, .us, au, etc.

2. Also if a sub domain is entered I want an error page to return as a result. I will make the page.

anything that is not a regular url should return the error page.

Here are some examples:

[url removed, login to view]

[url removed, login to view]

Attached is the rewrite page.

Taidot: Rakennusarkkitehtuuri, tekniikka, Perl, PHP, hakukoneoptimointi

Näytä lisää: error 0, getafreelancer com etc, url, htaccess, getafreelancer com au, error, myspace function, rewrite function php, php htaccess, htaccess read, php url rewrite htaccess, result page, domain info perl, url domain, domain perl, trailing, net rewrite, rewrite perl php, works page, rewrite page, minor project net, domain url, rewrite rewrite, url net, php page example

Tietoa työnantajasta:
( 17 arvostelua ) Alhambra, United States

Projektin tunnus: #482065

Myönnetty käyttäjälle:


I can fix "trailing slash at the end" and redirect all subdomains too. I need FTP access.

$50 USD 1 päivässä
(1288 Arvostelua)

10 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


We can help in your project, please check PMB to see our related experience.

$150 USD 2 päivässä
(252 arvostelua)

I am aware of HTaccess concept well. I do this quickly

$250 USD 2 päivässä
(213 arvostelua)

We are ready to execute your project as per your requirements within the given time frame. We have already completed several big (large-scale) projects for our clients & they are performing well. We believe in Quality Lisää

$225 USD 4 päivässä
(17 arvostelua)

Hi! Please look to pmb, it is contains the link to website with a proper rewriting, exactly same as you require. Regards

$150 USD 1 päivässä
(11 arvostelua)

Hi there, I can provide you with quality work. Thank you, Baseer

$250 USD 4 päivässä
(20 arvostelua)

Dear Sir, Please see the PM.

$100 USD 2 päivässä
(8 arvostelua)

I can do it.

$100 USD 2 päivässä
(1 arvostelu)

Please check your PM.

$50 USD 1 päivässä
(2 arvostelua)

we will do it

$100 USD 5 päivässä
(1 arvostelu)