Forum Replies Created

Viewing 15 replies - 1 through 15 (of 77 total)
  • I just typed in Firefox the url without the https. So for example http://mywebsite.com.

    It didn’t redirect while the htaccess file had the #Really Simple SSL redirects rules. I know mod_rewrite.c worked because permalink like mywebsite.com/sample-post/ permalink works.

    Then I activated WordPress 301 redirect in REally Simple SSL while the option of htacess 301 redirect is also chosen. Then the redirect from http to https works.

    I then deactivated WordPress 301 redirect (so only htacess redirect in plugin) and then to my surrise the 301 htaccess redirect seems to work again.

    So happy that it works, but I’m wondering if this will repeat itself. Ofcourse I could leave WordPress 301 redirect on, but I’m afraid if this will make my pagespeed slower.

    The host confirms the module is active.

    Thanks, I understand.

    Thanks, but it seems to add a double “www”.

    For example when I type in subsitename.com it seems to change in http://www.www.subsitename.com.

    BTW I use domainmapping, but prefer to use the www variants as prefered domain anyway.

    I enclosed my complete htaccess code here:

    <Files wp-login.php>
    Order Deny,Allow
    #Deny from all
    Allow from 83.117.224.220
    </Files>
    
    # BEGIN WEBSITE SPEED BOOST
    # Time cheat sheet in seconds
    # A17200 = 5 uur
    # A86400 = 1 day
    # A172800 = 2 days
    # A2419200 = 1 month
    # A4838400 = 2 months
    # A29030400 = 1 year
    
    <IfModule mod_headers.c>
    <FilesMatch "\.(js|css|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|gif|jpg|jpeg|png|swf)$">
    Header append Cache-Control "public"
    </FilesMatch>
    <FilesMatch "\.(txt|html)$">
    Header append Cache-Control "proxy-revalidate"
    </FilesMatch>
    <FilesMatch "\.(php|cgi|pl|htm|xml)$">
    Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
    Header set Pragma "no-cache"
    </FilesMatch>
    </IfModule>
    
    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresDefault A300
    ExpiresByType image/jpg A4838400
    ExpiresByType image/gif A4838400
    ExpiresByType image/png A4838400
    ExpiresByType image/jpeg A4838400 
    ExpiresByType application/x-shockwave-flash A4838400
    ExpiresByType application/x-javascript A17200
    ExpiresByType application/javascript A17200
    ExpiresByType text/javascript A17200
    ExpiresByType text/css A300
    ExpiresByType text/html A300
    </IfModule>
    
    <IfModule mod_deflate.c>
    # Compress everything except images
    
    # Insert filter
    SetOutputFilter DEFLATE
    
    # Netscape 4.x has some problems...
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    
    # Netscape 4.06-4.08 have some more problems
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    
    # MSIE masquerades as Netscape, but it is fine
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    # Don't compress images
    SetEnvIfNoCase Request_URI \
    \.(?:gif|jpe?g|png)$ no-gzip dont-vary
    
    # Make sure proxies don't deliver the wrong content
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    # END WEBSITE SPEED BOOST
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    ### BEGIN WWW and HTTPS REDIRECTS
    <IfModule rewrite_module>
    ## BEGIN non-WWW to WWW only for Network Subsites
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]
    RewriteCond %{HTTP_HOST} !\.mainsitename\.com$ [NC]
    RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,QSA,L]
    ## END non-WWW to WWW only for Network Subsites
    ## BEGIN HTTPS Catch-All
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,QSA,L]
    ## END HTTPS Catch-All
    </IfModule>
    ### END WWW and HTTPS REDIRECTS
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress
    
    # disable directory browsing
    Options All -Indexes
    
    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>
    
    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    I added the filter:

    add_filter( ‘srm_max_redirects’, function() { return 9999999; } );

    but it doesn’t seem to work anymore.

    I’m on Safe Redirect Manager v1.7.7 and wp 4.3

    Should the filter be different now?

    I regarded this as multisite too because of the blogs.dir folder.

    I implemented it on my multisite and the sites seem to work normal.

    Thanks.

    Hi,
    Host got it working again.

    They increased the settings for Timeout, max_execution_time and max_input_time.

    Hi,
    I had the same problem, but I think I found out why SPAM was getting through.

    I think spammers found a way to use the trackbacks. So I disabled trackbacks and the flood of spam diminished. Go to Options > Discussion panel to disable trackbacks on future posts.

    For existing posts Go to Edit posts and uncheck Allow Pings from the Write Post SubPanel.

    Hope this helps and Andy thanks a lot for making this great plugin. It still works great for me with this settings for trackbacks.

    handig

    (@handig)

    Thanks. Great functionality by the way. I’m looking forward to work with it on a new site.

    hi,
    I also noticed the adding of “www” helps in getting the sitemap.

    In WordPress multisite I change the childsite settings. For example I have a childsite: childsitename.mymultisite.com which I changed to http://www.childsitename.com to get the sitemap to work.

    Not sure why this is, but it works in my situation.

    Good luck!

    thanks.

    I note that: 0=colomn 1 and 2=colomn 3

    Here’s the page: link

    Hi,
    Ah. I guess that’s it, but don’t know how to get it working.

    I now also installed the TablePress Extension: DataTables HTML Numbers in Tables but how do I configure/set this up?

    I my rank I have numbers only and one cell with

    1 <img src=”/image.gif”/>

    So the other cells are:
    2
    3
    4
    5
    etc.

    handig

    (@handig)

    I guess I have to change it to without the WWW.

    But what steps should I take to ‘take the WWW out of the mainsite url”?

    I have a rather big database so I would like to do it directly in the database (I know it’s risky, but i’ll backup). Í was thinking about the following steps:

    A.Change the domain and absolute path in in mySQL database by removing the WWW:
    1. Options table fields siteurl
    2. options table field home
    3. metasite table field siteurl.

    B.Change the line define( ‘DOMAIN_CURRENT_SITE’ to without a WWW

    I’m I forgetting some fields or do you have a better approach for removing the WWW?

    handig

    (@handig)

    okay, thanks.

Viewing 15 replies - 1 through 15 (of 77 total)