Steve
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Dramatically Change Look & Feel for just one page on siteanyone?
Forum: Fixing WordPress
In reply to: Hardening WP-Includes for SecurityOk, many thanks!
Forum: Fixing WordPress
In reply to: Hardening WP-Includes for SecuritySorry – I meant if I completely ditch the code from my original post, and JUST go with the code from Hardening_WordPress that you referenced…
# Block the include-only files.
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ – [F,L]
RewriteRule !^wp-includes/ – [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ – [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F,L]
RewriteRule ^wp-includes/theme-compat/ – [F,L]# BEGIN WordPress
….Would it go in the root .htaccess ?
Forum: Fixing WordPress
In reply to: Hardening WP-Includes for SecurityThanks, but does the reference to “outside the # BEGIN WordPress and # END WordPress tag” imply that [the code in their example] goes in the root .htaccess file? Or does it go in the wp-includes directory?
Forum: Fixing WordPress
In reply to: Merging WordPress with existing static siteThe html portion is ~ 40 pages and the blog has over 100 articles.
After reading your solution above, I did some poking around and I’m sure that you are correct in that 301 redirects in the .htaccess file is the way to go.
Problem is, I’m not sure how to do it. For example, do I leave the blog in the sub directory (mysite.com/blog) and if so, where (and what) does the .htaccess go and what does is say? Or, is it better to put the new WordPress blog on the root directory, and if so, where and what would the .htacess file say. Any help would be greatly appreciated 🙂