What HTAccess rule is:

Shamil

Well-known member
Hi,
I'd like to know a few things in advance before I purchase. It won't affect if I purchase, but it will affect my deployment.
What are the rewrite rules and regexes being used in the htaccess?
Thanks.
 

Mike

XenForo developer
Staff member
Currently:
Code:
<IfModule mod_rewrite.c>
	RewriteEngine On

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -l [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^.*$ - [NC,L]
	RewriteRule ^(data|js|styles) - [NC,L]
	RewriteRule ^.*$ index.php [NC,L]
</IfModule>
 

Brogan

XenForo moderator
Staff member
As a follow up Mike, will owners be required to enter any additional data in the .htaccess?

Apart from any specific content they might already have I mean.
 

Mike

XenForo developer
Staff member
No, it's sufficient as is for XF (and is future proof). (If you're doing an import from vB with vBSEO and want 301s, you would.)
 
Top