Forum Replies Created

Viewing 15 replies - 16 through 30 (of 90 total)
  • Thread Starter handig

    (@handig)

    Thanks, I understand.

    Thread Starter handig

    (@handig)

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

    For example when I type in subsitename.com it seems to change in https://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?

    Thread Starter handig

    (@handig)

    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.

    Thread Starter handig

    (@handig)

    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.

    Thread Starter 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 https://www.childsitename.com to get the sitemap to work.

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

    Good luck!

    Thread Starter handig

    (@handig)

    thanks.

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

    Thread Starter handig

    (@handig)

    Here’s the page: link

    Thread Starter handig

    (@handig)

    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.

    Thread Starter 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?

    okay, thanks.

    Hi,
    I come from the other side. I just trasfered a site to a multisite subsite and forgot to ommit the WWW. I setup my subdomain wordpress multisite install with: define(‘DOMAIN_CURRENT_SITE’, ‘www.mymuwebsite.com’);

    I’m afraid it will break in the future. So I’m thinking about removing the WWW from the mainsite.

    But what steps should I take?

    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 forgettings something or do you have a better approach for removing the WWW?

    Thread Starter handig

    (@handig)

    thanks I’ll go there with my questions.

Viewing 15 replies - 16 through 30 (of 90 total)