XF 2.2 Use Full Friendly / Navigation Issues

Graham Smith

Active member
Good evening all.

First off, please rest assured we've looked all over this forum and have tried umpteen different solutions, but nothing seems to have worked for us so far.

We're currently trying to set up a 'test' site, but we're having a slight problem.

When we enable "Use full friendly URLs", basically every link breaks and we get 404 errors everywhere.

With "Use full friendly URLs" switched off, things are much better, but simply clicking on the header gives us an error of "The requested page could not be found." It's trying to take us to: https://www.ourwebsite.com/index.php

Our host has assured us that "mod_rewrite" is in place and we also have an htaccess file that contains the following (note our file doesn't have a .(dot) at the beginning of the file name, does that make a difference?)

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ourdomainname\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.ourdomainname.com/$1 [R,L]
RewriteOptions inherit
#    Mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#    SecFilterEngine Off
#    SecFilterScanPOST Off
#</IfModule>


ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default


Redirect 301 "/rules" "/resources/2012-english.176"


<IfModule mod_rewrite.c>
    RewriteEngine On


    #    If you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "RewriteBase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo


    #    This line may be needed to workaround HTTP Basic auth issues when using PHP as a CGI.
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]


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




# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit


# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag engine On
   php_flag short_open_tag On
   php_value precision 14
   php_value output_buffering Off
   php_flag zlib.output_compression Off
   php_flag implicit_flush Off
   php_value serialize_precision 100
   php_flag zend.enable_gc On
   php_value max_execution_time 500
   php_value max_input_time 5000
   php_value max_input_vars 5000
   php_value memory_limit -1
   php_value error_reporting E_ALL & ~E_NOTICE
   php_flag display_errors Off
   php_flag display_startup_errors Off
   php_flag log_errors On
   php_value log_errors_max_len 1024
   php_flag ignore_repeated_errors Off
   php_flag ignore_repeated_source Off
   php_flag report_memleaks On
   php_flag track_errors Off
   php_flag html_errors On
   php_value error_log "error_log"
   php_value variables_order "GPCS"
   php_value request_order "GP"
   php_flag register_argc_argv On
   php_flag auto_globals_jit On
   php_value post_max_size 500M
   php_value default_mimetype "text/html"
   php_value default_charset "UTF-8"
   php_value upload_max_filesize 500M
   php_value default_socket_timeout 60
   php_flag cli_server.color On
   php_value date.timezone "America/Denver"
   php_flag mail.add_x_header On
   php_value odbc.defaultlrl 4096
   php_value odbc.defaultbinmode 1
   php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S"
   php_value ibase.dateformat "%Y-%m-%d"
   php_value ibase.timeformat "%H:%M:%S"
   php_value mysqli.default_port 3306
   php_value pgsql.ignore_notice 0
   php_value pgsql.log_notice 0
   php_value bcmath.scale 0
   php_value session.save_handler "files"
   php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
   php_flag session.use_strict_mode Off
   php_flag session.use_cookies On
   php_flag session.use_only_cookies On
   php_value session.name "PHPSESSID"
   php_flag session.auto_start Off
   php_value session.cookie_lifetime 0
   php_value session.cookie_path "/"
   php_value session.serialize_handler "php"
   php_value session.gc_probability 0
   php_value session.gc_divisor 0
   php_value session.gc_maxlifetime 5000
   php_value session.cache_limiter "nocache"
   php_value session.cache_expire 180
   php_flag session.use_trans_sid Off
   php_value session.hash_function "0"
   php_value session.hash_bits_per_character 5
   php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry"
   php_flag tidy.clean_output Off
   php_flag soap.wsdl_cache_enabled On
   php_value soap.wsdl_cache_dir "/tmp"
   php_value soap.wsdl_cache_ttl 86400
   php_value soap.wsdl_cache_limit 5
</IfModule>
<IfModule lsapi_module>
   php_flag engine On
   php_flag short_open_tag On
   php_value precision 14
   php_value output_buffering Off
   php_flag zlib.output_compression Off
   php_flag implicit_flush Off
   php_value serialize_precision 100
   php_flag zend.enable_gc On
   php_value max_execution_time 500
   php_value max_input_time 5000
   php_value max_input_vars 5000
   php_value memory_limit -1
   php_value error_reporting E_ALL & ~E_NOTICE
   php_flag display_errors Off
   php_flag display_startup_errors Off
   php_flag log_errors On
   php_value log_errors_max_len 1024
   php_flag ignore_repeated_errors Off
   php_flag ignore_repeated_source Off
   php_flag report_memleaks On
   php_flag track_errors Off
   php_flag html_errors On
   php_value error_log "error_log"
   php_value variables_order "GPCS"
   php_value request_order "GP"
   php_flag register_argc_argv On
   php_flag auto_globals_jit On
   php_value post_max_size 500M
   php_value default_mimetype "text/html"
   php_value default_charset "UTF-8"
   php_value upload_max_filesize 500M
   php_value default_socket_timeout 60
   php_flag cli_server.color On
   php_value date.timezone "America/Denver"
   php_flag mail.add_x_header On
   php_value odbc.defaultlrl 4096
   php_value odbc.defaultbinmode 1
   php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S"
   php_value ibase.dateformat "%Y-%m-%d"
   php_value ibase.timeformat "%H:%M:%S"
   php_value mysqli.default_port 3306
   php_value pgsql.ignore_notice 0
   php_value pgsql.log_notice 0
   php_value bcmath.scale 0
   php_value session.save_handler "files"
   php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
   php_flag session.use_strict_mode Off
   php_flag session.use_cookies On
   php_flag session.use_only_cookies On
   php_value session.name "PHPSESSID"
   php_flag session.auto_start Off
   php_value session.cookie_lifetime 0
   php_value session.cookie_path "/"
   php_value session.serialize_handler "php"
   php_value session.gc_probability 0
   php_value session.gc_divisor 0
   php_value session.gc_maxlifetime 5000
   php_value session.cache_limiter "nocache"
   php_value session.cache_expire 180
   php_flag session.use_trans_sid Off
   php_value session.hash_function "0"
   php_value session.hash_bits_per_character 5
   php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry"
   php_flag tidy.clean_output Off
   php_flag soap.wsdl_cache_enabled On
   php_value soap.wsdl_cache_dir "/tmp"
   php_value soap.wsdl_cache_ttl 86400
   php_value soap.wsdl_cache_limit 5
</IfModule>
# END cPanel-generated php ini directives, do not edit


<Files 403.shtml>
order allow,deny
allow from all
</Files>

Any ideas what we're missing?
 
Top Bottom