Difference between revisions of "WwwRedirect" From Online Manual

Jump to: navigation, search
m
m
Line 5: Line 5:
 
You can do several things to change this behaviour:
 
You can do several things to change this behaviour:
 
#Access the site using the www.
 
#Access the site using the www.
#Change your site settings to remove the www from your site URL and all the URLs of themes, smilies, attachments, etc. (use repair_settings.php).
+
#Change your site settings to remove the www from your site URL and all the URLs of themes, smilies, attachments, etc. (use [[repair_settings.php]]).
 
#Use a .htaccess redirect to automatically (and invisibly) redirect users to the version of your URL that you want to use.
 
#Use a .htaccess redirect to automatically (and invisibly) redirect users to the version of your URL that you want to use.
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]

Revision as of 11:47, 23 December 2014

Why is "wwwRedirect" in my forum URL?

When you set up your forum, you specified that the site URL was www.yoursite.com. However, when you try to access your site, you are using just the domain "yoursite.com". SMF is, correctly, automatically redirecting you to the www URL of your site address.

You can do several things to change this behaviour:

  1. Access the site using the www.
  2. Change your site settings to remove the www from your site URL and all the URLs of themes, smilies, attachments, etc. (use repair_settings.php).
  3. Use a .htaccess redirect to automatically (and invisibly) redirect users to the version of your URL that you want to use.