+ Reply to Thread
Results 1 to 8 of 8

Thread: Two Word Press questions.

  1. #1
    Join Date
    Feb 2010
    Location
    In a house.
    Posts
    39

    Question Two Word Press questions.

    After getting my blog installed and working just fine (well, mostly), I'm having a bit of an identity crisis when it comes to email and home directory paths.



    I am sure the answers are a simple setting somewhere, but I'm not sure where, so a little help would be most welcome...

    I installed Word Press, all installed as per the default install but into a sub directory of a sub domain.

    Question #1:

    Whenever I have 'admin' send me an email it comes "from" the main blue host account, not from an account I have set up for the domain I installed WP into. I can't see anywhere in the admin menus to set up a SPECIFIC email address it should use. I guess I've got to go in and edit a PHP file, but before I dive in and spend a day getting it wrong, has anyone else found this and can point me at what I should do?

    Question #2:

    www.subdomainname.com/blog/ works great, but...

    www.subdomainname.com/blog (no trailing slash) fails and I get the message that the server at:

    "subdomain-com.maindomain.com" cannot be found!

    I see others put rewrite rule in as the way to fix things like this, but I just want to make sure that I know if this is typical and I've not bumped into something that has an easier fix in a menu somewhere?


  2. #2
    Join Date
    Jan 2007
    Posts
    137

    Default

    Question #1:
    To avoid this, you'll need to set up an email account called wordpress@mysubdomain.com. When you've done that, emails will come from that address rather than the default BH address.

    EDIT: You can modify this further and allow WP to use any email address and sender you like using this plugin: http://wordpress.org/extend/plugins/wp-mail-smtp/
    Last edited by breakingball; 03-13-2010 at 11:36 AM.

  3. #3
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    4,533

    Default

    Quote Originally Posted by breakingball View Post
    To avoid this, you'll need to set up an email account called wordpress@mysubdomain.com.
    Alternatively set up a forwarder from that address to an email address on your account that already exists so that you don't have an extra email address to check for replies.

    Or even better, just go to the Settings/General page in WordPress and change the email address there to one that already exists.

  4. #4
    Join Date
    Feb 2010
    Location
    In a house.
    Posts
    39

    Default

    Guys,

    Thanks for the replies... as a result of your pointers, I have the email situation under control and am looking at the trailing slash problem right now.

    The kind of quantity of issues from people posting here about rewrites (I just got 260 searching here for the term 'rewite' and over 500 hits on a search for .htaccess) seems to be a bit of an FAQ, so it seems like we'd have it really well documented somewhere. The Bluehost help system does not seem to have a WP specific solution anywhere... is there a good example somewhere you know of that I can turn into an FAQ for those that might also need to do this?

    Thanks in advance for any pointers....

    EDIT: There is a plugin that I'll look at during the day that might fix this, called "smart-trailing-slash". Not sure this will fix it until I try, but it might be worth a go?

    From the php file itself:

    "Description: Gives permalinks a trailing slash, but removes it in permalinks with a filename extension, e.g. .html"

    Take a look at: http://www.thewebsiteprofessionals.c...ing-slash.html for a discussion, and yes, the author's website is in German, so it isn't obvious for us English speakers.

    Last edited by bjrichus; 03-14-2010 at 05:48 AM.

  5. #5
    Join Date
    Jan 2007
    Posts
    137

    Default

    That seems like an old plugin (for WP 2.3.x). Maybe there's a newer one here.

    In your WordPress Dashboard, under Settings > General, you should have entered the WordPress Address (URL) as well as the Blog Address (URL). Neither of those addresses should have a trailing slash ( e.g. http://mysubdomain/blog ), even if the WP install is in a sub-directory.

    Is that how you have it set up?
    Last edited by breakingball; 03-14-2010 at 10:45 AM.

  6. #6
    Join Date
    Feb 2010
    Location
    In a house.
    Posts
    39

    Default

    Quote Originally Posted by breakingball View Post
    That seems like an old plugin (for WP 2.3.x). Maybe there's a newer one here.

    In your WordPress Dashboard, under Settings > General, you should have entered the WordPress Address (URL) as well as the Blog Address (URL). Neither of those addresses should have a trailing slash ( e.g. http://mysubdomain/blog ), even if the WP install is in a sub-directory.

    Is that how you have it set up?
    Right. It is like that.

    I have ended up using a different plugin (went to the main wordpress.org/plugin location and did a variety of searches for "remove trailing slash") and got something called "Permalink Trailing Slash Fixer".

    From the readme file:

    Contributors: piouPiouM
    Tags: permalink, url, link, links, add, trailing slash, slash, trailingslash
    Requires at least: 2.2.0
    Tested up to: 2.8
    Stable tag: 1.0.1

    It is effectively a wrapper round (using the "Main WordPress Formatting API" here, so it is "legit") this interestingly named function: "trailingslahsh!t" (name edited to avoid * in display).

    Seems to fix the problem, so that is the one for me... by the way, there are several other plugins that deal this too!!!!!


  7. #7
    Join Date
    Jan 2007
    Posts
    137

    Default

    Sounds like you're getting things straight.

    Good luck!

  8. #8
    Join Date
    Feb 2010
    Location
    In a house.
    Posts
    39

    Default

    Quote Originally Posted by breakingball View Post
    Sounds like you're getting things straight.

    Good luck!
    I dug up another plugin that handles redirection really well. It much more complex than these others and has a really nice admin interface too!!!

    It means you don't need to mess with .htaccess files anymore, which is truly WONDERFUL!

    Its called (wait for it)... "redirection". See: http://urbangiraffe.com/plugins/redirection/


+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts