Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tylersmiller

    (@tylersmiller)

    @skarface – teriffic. We were told to upgrade to 1.7.15 because of a security vulnerability too. I haven’t tested on my end yet or downgraded yet.

    As far as my other issue, when logged out, I am redirected to the homepage of my WP install when I hit the Webhook URL. I am not running any security plugins either.

    Here is my .htaccess for the folder with the WP installation.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /subscriptions/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /subscriptions/index.php [L]
    </IfModule>
    
    # END WordPress
    
    # BEGIN MainWP
    
    # END MainWP

    Here is the .htaccess for the parent folder of the site:

    # BEGIN MainWP
    
    # END MainWP
    
    Header unset Pragma
    FileETag None
    Header unset ETag
    ## Leverage Browser Caching ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType text/css "access plus 1 month"
    ExpiresByType application/pdf "access plus 1 month"
    ExpiresByType text/x-javascript "access plus 1 month"
    ExpiresByType application/x-shockwave-flash "access plus 1 month"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresDefault "access plus 2 days"
    </IfModule>
    ## Leverage Browser Caching ##
    
    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]
    </IfModule>
    
    # END WPSuperCache
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Forum: Fixing WordPress
    In reply to: Redirecting
    Thread Starter tylersmiller

    (@tylersmiller)

    Sorry about the confusion. The way both domains are now, is how I want things. So on blog.tylersmiller.com, any images etc still point at tylersmiller.com/wp-content/etc. I’m fine with keeping my uploads on tylersmiller.com. Right now, anytime you want to find a blog article, you have to find it via a search engine result. That points to tylersmiller.com/blogarticle. I would like tylersmiller.com/blogarticle to redirect to the same article on blog.tylersmiller.com/blogarticle.

    Essentially I would be deleting everything on tylersmiller.com if this can work.

    At this point, would it be easier to do a WordPress move of all content directories to the new subdomain and then delete everything from tylersmiller.com and wait for search engines to repopulate content from the new subdomain and not worry about redirects?

    Thanks again for your help on this.

    Forum: Fixing WordPress
    In reply to: Redirecting
    Thread Starter tylersmiller

    (@tylersmiller)

    Oh sorry about that.

    Okay, original domain is https://www.tylersmiller.com. I want the new blog domain to be https://blog.tylersmiller.com. Blog URL already has all content. I want any google search results to tylersmiller.com to redirect to the respective article on blog.tylersmiller.com.

    Is this possible? Thanks!

    Forum: Themes and Templates
    In reply to: Header size
    Thread Starter tylersmiller

    (@tylersmiller)

    Hey, that worked! Thats so much for your prompt reply!

Viewing 4 replies - 1 through 4 (of 4 total)