Helen Hou-Sandi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how do I remove the line spacing in betweenSince you’re pasting as plain text, try pasting into HTML view and then going back to Visual – if there is only one line break between each line, it should translate that way when you go back to visual. If you’ve got double line breaks, then you really don’t have much of a choice except to fix it by hand or do a search-and-replace.
If you choose the “Address” format, that’s actually using the HTML tag
<address>which, depending on your theme’s CSS, may very well come out in a different style than you are expecting. Don’t use it unless it really is an address.Forum: Fixing WordPress
In reply to: how do I remove the line spacing in betweenDelete the space between each line and press shift-enter instead of just enter to get a line break instead of a paragraph.
Forum: Fixing WordPress
In reply to: Help! pointing to wordpress/index.html does not work?Have you tried it with just the following?
RewriteEngine ON RewriteRule ^index\.html?$ / [NC,R,L]These should go above your WordPress rules in the .htaccess file in the directory where WordPress is installed. If you don’t have any WordPress rules, try using a better permalink structure (which you should, anyway).
Forum: Fixing WordPress
In reply to: Help! pointing to wordpress/index.html does not work?Do you have something going on that is causing it to go back to index.html from index.php? Be sure that the rule is at the top of the file, before any other WordPress rules. Also, you should take out the third line – no need for it. To be honest, mod_rewrite is not my strong suit, but two more thoughts.
I saw this link, which might be helpful: http://www.webmasterworld.com/forum92/4666.htm
Finally, although I’d call this an ugly “solution”, you could create an index.html file that redirects using
<meta http-equiv="refresh" content="0; url=http://www.dsrstudio.com/dsrblog/">Forum: Fixing WordPress
In reply to: Help! pointing to wordpress/index.html does not work?You should be able to edit the .htaccess file in the WP directory the same way as any other .htaccess file. Can you paste in the contents of your .htaccess file? There is another uglier way to do this, if this doesn’t work…
Forum: Fixing WordPress
In reply to: Help! pointing to wordpress/index.html does not work?Yes, this should be in the same .htaccess file that WordPress uses, before any other WP rules. Take out the one from before so that all it has is
RewriteEngine ON RewriteRule ^index\.html?$ / [NC,R,L]at the top.
Forum: Fixing WordPress
In reply to: Help! pointing to wordpress/index.html does not work?Ah yes… forgot about escaping the period 😀 Try this instead at the top of your WP .htaccess file, should be better:
RewriteRule ^index\.html?$ / [NC,R,L]Forum: Fixing WordPress
In reply to: Help! pointing to wordpress/index.html does not work?There is no index.html in the WordPress directory, but rather an index.php, which is why it can’t be found. If this is your own server, you should set up a 301 redirect from /myblog/index.html to /myblog/, probably using .htaccess. So, for example:
# Redirect index.html references Redirect 301 /myblog/index.html http://mydomain.com/myblog/I’ve just released an update that has options for using the whole library or with different pages/posts. Let me know if it has what you’re looking for!
Also, I just realized that the first post replaced my HTML entities with their equivalents despite encoding the ampersands, so it looks strange.
As I said in my previous post, you need to replace all special characters with their equivalent HTML entity.
- £ =
£ - é =
é - ” =
" - ä =
ä
* is not a special character, but if it is giving you problems (which it shouldn’t), try replacing it with something noticeable like ASTERISK, noting where it appears, and then go back and fix it manually after import.
Forum: Fixing WordPress
In reply to: Modified index.php (root)No, in theory it should not work and it’s not easy. The root index.php is not a visual thing at all, it’s just a loader file, and you are going to get errors with headers sent if you put output in that file. If you want to change the way your blog looks, you should be altering the template files in the theme folder.
Forum: Networking WordPress
In reply to: Add Site Links to Admin Sidebar?I did what sounds like what you’re looking for a while back (pre-admin bar), but it probably needs some tweaking depending on how whether you use subdomains or subfolders: http://blog.helenyhou.com/2010/07/wordpress-function-sites-in-dashboard-menu/
I’ve only ever seen evidence that you can’t link externally from the admin menu, so my function does something kind of hacky/ugly that made it work for me. Probably the better thing to do would be to do a redirect in the callback function for the “page” being added to the menu.
Forum: Fixing WordPress
In reply to: Modified index.php (root)Why are you doing this to the root index.php?! You should never, ever edit WP core files! </lecture>
Visual changes should be made in your theme files (wp-content/themes/minimal/ in your case). You definitely shouldn’t be using tables to control your layout, and if the images are background images rather than content, they should be in your CSS, not HTML. Your site looks like it’s fixed width – you could combine those two images with the requisite amount of space between them and set it as the background image for the body (not repeating, hopefully) or another wrapping div if you’re not into CSS3 multiple background images (good but not complete browser support). If you want to test changes, try making a child theme and previewing it or using a plugin to switch themes for you as the admin user.
Child themes: http://themeshaper.com/2009/04/17/wordpress-child-theme-basics/
Theme preview plugin: http://wordpress.org/extend/plugins/theme-preview/The error itself means that you are sending information to be printed in the browser before WP usually sends header information. Since you list yourself as having advanced PHP and HTML skills, I apologize if I’m telling you something you already know. WordPress can’t work as expected unless its core files are loaded properly; in this case by declaring a constant and then requiring the wp-blog-header.php file. Once you start mucking with core files, you set yourself up for… well, errors like that one.
I’ve had problems with special characters truncating imports in the past, so what I’ve done is to run a find-and-replace on the CSV in a text editor and replace quotes and other special characters (e.g. diacritics/accented letters) with their HTML entities. So, for instance, replacing ‘ with ' and ” with " . See: http://www.elizabethcastro.com/html/extras/entities.html
- £ =