Forums

Trailing slashes at the end (1 post)

  1. gplaurin
    Member
    Posted 2 years ago #

    Hi !

    I have generated a new rule like that

    $new_rules = array(
    		'events/(.+)/(.+)/(.+).html$' => 'index.php?region='.
    		$wp_rewrite->preg_index(1).'&cate='.
    		$wp_rewrite->preg_index(2).'&membre='.
    		$wp_rewrite->preg_index(3)
    	);
    
        $wp_rewrite->rules = $new_rules + $wp_rewrite->rules;

    But when I try accessing a page it keep putting a slash at the end...

    Thanks in advance !
    GP

Topic Closed

This topic has been closed to new replies.

About this Topic