Determines whether permalinks are being used and rewrite module is enabled.

Description Description

Using permalinks and index.php is not in the URL.

Top ↑

Return Return

(bool) Whether permalink links are enabled and index.php is NOT in the URL.

Top ↑

More Information More Information

Returns true your blog is using “pretty” permalinks via mod_rewrite.

Top ↑

Source Source

File: wp-includes/class-wp-rewrite.php

	public function using_mod_rewrite_permalinks() {
		return $this->using_permalinks() && ! $this->using_index_permalinks();

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.