163 reputation
313
bio website heavymark.com
location Greater Boston
age
visits member for 3 years, 6 months
seen Oct 29 at 1:44

Building strong impressions in Greater Boston.


Sep
24
awarded  Autobiographer
Jul
28
awarded  Notable Question
Mar
25
awarded  Popular Question
Jan
16
accepted Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
Jan
16
comment Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
Got it: So my original one I just need to remove the P like you did in yours but not add the ^blog you had in yours. Going to mark yours as correct tho since the best answer. Thanks! RewriteEngine ON RewriteCond %{REQUEST_URI} ^/blog RewriteRule ^(.*)$ blog.joesexample.com/$1 [R=301,L]
Jan
15
comment Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
Doesn't seem to work. I decided to test more simple directs such as redirecting www.joesexample.com to blog.joesexample.com which I was able to get working with: RewriteEngine On Options +FollowSymlinks RewriteCond %{HTTP_HOST} ^(www\.)?joesexample\.com$ [NC] RewriteRule ^ blog.joesexample.com [R,L] and putting that in the root directory. Not sure if there is a way to modify that so it can instead redirect /blog (and any posts in it. Or if there is another change I can try based on your version? htaccess reg expressions are never fun!
Jan
15
comment Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
We tried but that change causes forbidden errors. Any thoughts? I'll keep researching in the mean time too.
Jan
15
comment Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
Ah that makes sense. Going to try it now and will let you know how it goes.
Jan
15
revised Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
added 220 characters in body
Jan
15
revised Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
Added www.
Jan
15
asked Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
Nov
26
awarded  Critic
Nov
26
comment List custom post type but redirects to home page
The publicly_queryable hint worked for me. Thanks!
Nov
22
comment How to add a data attribute to a WordPress menu item
I set a reminder in Fantastical so I don't forget to award the bounty tomorrow.
Nov
22
comment How to add a data attribute to a WordPress menu item
After I swapped in some of my own values that did it! Thank you! Marked it as correct, but says I need to wait 23 more hours before I can award the bounty.
Nov
22
accepted How to add a data attribute to a WordPress menu item
Nov
22
revised How to add a data attribute to a WordPress menu item
added 1265 characters in body
Nov
22
awarded  Promoter
Nov
4
comment How to add a data attribute to a WordPress menu item
Thanks for this! I'm not quite sure I understand how to get the $item ID for my particular menu item however. In your example the 2220 is also the same as your url "dev.rarst.net/?p=2220";. My link I want to add the data-attribute to doesn't go to another wordpress url but rather is href="#ContactForm". Based on your example above I googled more and tried running echo var_export($GLOBALS['post'], TRUE); but when I look near the invidual menu item I don't see any unique ID. Can you clarify? Or in "if ( 2220 == $item['ID'] )" Thanks in advance!
Nov
4
awarded  Quorum