New help with a 301 mod rewrite
-
Hi folks, I got this note about the slowdowns on our server suggesting a mod rewrite:
when logging into https://www.igotasti.com <https://www.igotasti.com/> then clicking a link, you are redirected to https://igotasti.com <https://igotasti.com/> and are logged out.. this happens because the login session and cookie is created for the host and domain https://www.igotasti.com <https://www.igotasti.com/> but the next request is for https://igotasti.com <https://igotasti.com/>
i think this can be fixed by ensuring all your internal site links point to https://www.igotasti.com <https://www.igotasti.com/> as opposed to just igotasti.comHowever, using a traditional rewrite on ipage.com, it started spewing errors and virus warnings ??
Maybe for WP I’m not putting it in the right way:
`
Options -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.igotasti\.com$ [NC]
RewriteRule ^(.*)$ https://www.igotasti.com/$1 [R=301,L]# DENY PUBLIC ACCESS TO YOUR wp-config.php File
<files wp-config.php>
order allow,deny
deny from all
</files>
# BEGIN WordPress<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule> `Any help greatly appreciated.
- The topic ‘New help with a 301 mod rewrite’ is closed to new replies.