shoek

Topic: Add slash at the end of the url

Hi very good

I need to know how I can add the slash at the end of the url to be automatically put into the bar to all pages. As for example:

page_job.php

$url = BASE_URL . URL_JOB .'/' . $id . '/' . $info['url_title'] . '/';
$current_url = 'http://' . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];

if ($current_url != $url) redirect_to($url, 301);

The problem is for the url with second level folders as you would not. I hope you can help me.

Regards

shoek

Re: Add slash at the end of the url

Hi very good

No one knows how to automatically slash at the end of each web address. Google detects it as double content.

Regards