Forum Replies Created

Viewing 15 replies - 16 through 30 (of 62 total)
  • jayseae

    (@jayseae)

    1: You can do this with a RewriteRule. Be careful on three fronts.

    First, they are executed in the order they appear in the .htaccess file (top down). Second, RewriteRules take precedence over any Redirects (and RedirectMatches) if you have them. Finally, the regular expressions can get complex pretty easily.

    To rewrite this particular post, as well as any in the same format, it’s fairly simple:

    RewriteRule ^/(.*)/$ /$1.aspx [L,R=301]

    You’re taking anything inside the slashes, then referencing it with the $1 backreference, and appending the .aspx. That’s actually straightforward – however I’m not sure I would do it that way, as it’s going to rewrite everything in your domain that starts with a slash and ends with a slash. If that’s okay, go to it.

    If not, you’re going to need to get more creative – such as doing some rewrites prior to this for other items. But this should take care of you otherwise.

    Now keep in mind – the URL actually ends with “index.php” (you just don’t see it). So you may want to do this in addition to/in place of that one:

    RewriteRule ^/(.*)/index\.php$ /$1.aspx [L,R=301]

    This means “any request for something ending in index.php”. We’re going to throw it out, because we don’t care – we’re using that for the filename – but it’s needed in the request portion of the rule.

    2: If you put them in the same location, so they will have the same URL, then you don’t need to do anything. If they will have a different URL, then you’ll need to create some rewrite rules to get to them. That could be difficult – depending on how many you need to write – or it could be easy – if you can do it with just one (like above). It just depends. The good news is you probably won’t be changing file names and extensions, but directories. So it shouldn’t be too bad.

    This may help learning about mod_rewrite.

    3: I’m sorry, but I don’t understand the question.

    jayseae

    (@jayseae)

    I ran it through the Facebook debugger, and you get a warning about your image (the oyster one), but it seems to work, and it’s coming up for me now. I don’t know if it was stuck in some sort of cache or loop or something and this cleared it or what, but let me know if it’s working for you now – and you may want to provide a better (larger) image than that one.

    jayseae

    (@jayseae)

    If you don’t want any URLs, the simplest change is to update your settings to allow a different number of links.

    jayseae

    (@jayseae)

    I believe the embed code is an iframe that you simply paste into the post (or the page, if that is the case).

    The real issue you are going to run into is that everyone’s monitor is different. Someone may be viewing on a television screen, or a tablet or a CRT or who knows what – this is why the embedded spreadsheet has scrollbars on it. Unfortunately, it means that you may not be able to see everything at once on all monitors.

    Here is an example page that allows scrolling to see the extra columns with data – even though the spreadsheet itself isn’t very wide.

    jayseae

    (@jayseae)

    What you are talking about is an “interstitial” ad. Probably not anyone’s favorite, but if you want to do it, there is at least one plugin that says it supports them, including the use of a timer.

    Just add the site URL, the timer and you should be good to go. There is a review that says it doesn’t work, however, and there is also at least one paid plugin available as well – so there do seem to be some options here.

    jayseae

    (@jayseae)

    You will probably need some form of gallery plugin to make this work well. There was a discussion about this a while back that talked about a few options. One of the more popular plugins was Social Gallery. It is currently $25, but it may do what you want.

    jayseae

    (@jayseae)

    You might like the Table of Contents Plus plugin, which generates a table of contents based on headings in your posts, and also allows you to insert the tables automatically or via the use of shortcodes (you can disable them this way as well).

    Here is a brief tutorial on how to use it.

    jayseae

    (@jayseae)

    While WordPress allows you to protect the entire content (showing the title and prompting for a password to view the content), you are probably going to need a plugin of some sort if you only want to show part of the body and protect the rest.

    There are definitely membership plugins out there that offer partial post protection. A search can likely turn up something for you, but there will probably be a cost involved. I haven’t tried any, but they look like they would solve your problem. You may also be able to hire someone to do the work for you.

    jayseae

    (@jayseae)

    The “hasn’t closed the table properly” are generally just warnings. It doesn’t mean that you should ignore them, but they are of less concern than the “marked as crashed” message.

    What you should do is repair the tables. Preferably soon.

    If you have access to phpMyAdmin, it is a fairly easy process – access phpMyAdmin through your control panel, select each database and choose “repair”.

    If not, it’s a little more difficult, but can be done from the command line as well (that is a little more complex).

    You can also probably contact your host and have them do it for you.

    jayseae

    (@jayseae)

    I don’t think MailChimp provides a single-opt option. At least according to their web site it doesn’t look like it. Not many (reputable) companies do, because it means you could just be adding email addresses to a list in order to spam them. Not that you would do that, of course.

    jayseae

    (@jayseae)

    Your theme doesn’t appear to support it by default.

    http://demo.themegrill.com/radiate/?s=chocolate

    That doesn’t mean it’s not possible, just that by default your theme doesn’t seem to support it. You may want to try their support forum or their other support forum. You could also perhaps hire someone to add it for you.

    jayseae

    (@jayseae)

    When I look at the categories (and subcategories) they don’t look terribly different from one to another. Are you seeing the same problem, or did you get it resolved?

    jayseae

    (@jayseae)

    You mention both blog title and post title, so I’m not clear on which you want.

    For the blog title, use:

    <?php bloginfo('name'); ?>

    However, for the post title, use:

    <?php the_title(); ?>

    For the content, use:

    <?php the_content(); ?>

    This returns the body of the post – but this can be lengthy. You may actually want the excerpt instead, which is either the defined excerpt or the first 55 characters:

    <?php the_excerpt(); ?>

    Now you just need to string them together. One option would actually be to put the blog title and post title together, like so:

    <?php bloginfo('name').': '.the_title(); ?>

    This gives you something like this:

    Blog Title: Post Title

    You could of course change that separator – I just included it for illustration. The important part is that when you put the two next to each other, or even if you do one, then later do another one, they print the information with no separation. By adding concatenating the data, with a separator, you get what you want.

    You could also do a title with content:

    <?php bloginfo('name').': '.the_content(); ?>

    And so on. Alter as needed.

    jayseae

    (@jayseae)

    In comparing IPs, your new site is on one host (Bravehost?) and your old one is on another (GoDaddy?). I don’t know if you wanted to secure the wp-admin directory, or they did, or it happened unintentionally (through a plugin perhaps), but it seems to be at least a part of the problem.

    If you want to secure the wp-admin directory, there is a section about doing so – and it specifically talks about using Basic Authentication, rather than securing it (which would be using permission-based security), which could break functionality, which appears to be what we’re seeing here.

    jayseae

    (@jayseae)

Viewing 15 replies - 16 through 30 (of 62 total)