• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

What HTAccess rule is:

Shamil

Well-known member
#1
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
#2
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
#3
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
#4
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.)