Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter zoomer

    (@zoomer)

    It’s very depressing to see so many messages with real problem and nobody answers

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It’s very depressing to see so many messages with real problem and nobody answers

    I really have to laugh when I see this strategy. “Hey, maybe if I insult them, I can be guaranteed an answer to my original question.”

    Of course, the real answer is that most of these “unanswered” questions have been answered and can be solved by a simple search. Yes, a simple 2-5 minute search could have spared you those 11 hours that you spent cooking up that witty comeback. You’re lucky that I’m surprisingly in a good mood after that.

    http://wordpress.org/support/topic.php?id=29544
    http://wordpress.org/support/search.php?q=redirect+www

    Lorelle

    (@lorelle)

    It’s very depressing to see volunteers get whines from people who don’t realize that the harder questions take some time to research, or for the knowledgable people to show up to answer the question.

    You can get information on permalink structure and rewrites in the WordPress Codex at http://codex.wordpress.org. And there is even more information on how to find more help in the WordPress Codex Troubleshooting section.

    tomhanna

    (@tomhanna)

    In the dashboard go to:

    Options: General

    Change both the WordPress Address (URI) and Blog Address (URI) to include the www.

    From several installs I recall that even if you put the www in during setup one or the other of these doesn’t seem to end up with it, at least part of the time, but it’s simple to change.

    Marc

    (@marc)

    All that said “WWW” isn’t useful any more and there is no valid reason to use it despite what the originator of this thread believes.

    Thread Starter zoomer

    (@zoomer)

    All that said, I’ve found some posts with no answers at all and this is for months….so I was speaking for others too.
    Apparently when you “whine” the knowledgeable people seem to show up right away.
    Then for the latest thread, sorry: i’m newbie with wordpress but not with SEO and I know why I need this corrected.

    Now that I calmed down, I sincerely thank you for this help, it’s very nice and I appreciate it.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    All that said, I’ve found some posts with no answers at all and this is for months….so I was speaking for others too.

    Let the other speak for themselves. Whether they found their answer of not, they have obviously moved on.

    Apparently when you “whine” the knowledgeable people seem to show up right away.

    I’ll take that as a compliment.

    tomhanna

    (@tomhanna)

    Marc,

    “All that said” some spiders – noteably Google, at least according to their Adsense staff – treat http://www.something.com and something.com as separate URLS. While it’s certainly fine to eliminate the www. altogether you don’t want to have both, if it’s a site where you don’t want the negative implications of duplicate pages with identical content.

    Hi there…

    Just wanted to bump this post not to renew the flaminess but to try to find a solution.

    I am in a similar situation to the first poster. I’ve read all of the posts mentioned but I haven’t found a solution to my particular situation.

    I would like my blog to live at http://foo.com/wp/ . Everything else on my site links to http://foo.com/. However, my WP install thinks it lives at http://foo.com/wp and when a user hits that URL he or she is redirected to http://www.foo.com/wp/ .

    [Update: just to clarify, I do NOT want the www part in the domain name. The web server is set up to automatically add it when a user requests a URI which is a directory, and I don’t have control over the web server.]

    I’ve tried to enter http://foo.com/wp/ in the admin interface for both Blog URI and WordPress address, but it strips the trailing slash off. At my host I am not able to use Apache RewriteRules. I’ve added a trailing slash by hand at the end of the header in my template, so the link to the blog page at the top works, but the RSS still uses a http://foo.com/wp as the URI for my blog.

    Can anyone help? Or at least point me to where in the code the URI is checked so I can override it myself?

    Thanks.

    Not entirely unrelated is this plugin, which might be of interest:
    http://txfx.net/2005/05/30/one-permalink-only/

    I think it still doesn’t solve my problem. In Options > General > WordPress address (URI): I have “http://www.adventisti.lv/blog” and the same in Blog address (URI): “http://www.adventisti.lv/blog”. And when I click on my blog’s title, I get an error, because I’m forwarded to “http://www.adventisti.lv/blog”, exactly as written in preferences. However, in preferences I cannot add closing slash, as it’s being stripped upon submitting changes. When I change WordPress address (URI): to “http://www.adventisti.lv/blog/index.php”, everything works fine, except that all images are lost… Why I can’t you allow simply add trailing slash? And we wouldn’t have problems…

    Some problems solved here (I’m looking at you skreak πŸ™‚ ):
    http://tips-scripts.com/?tip=www#tip
    Enable or disable the www (FORCED, despite what the user puts in) for your site globally.

    It has nothing to do with www. The problem is not that I wouldn’t have www, but that I cannot add trailing slash and in the result web server doesn’t show anything without it… Actually it’s redirecting user to another site… Try to enter this URL http://www.adventisti.lv/blog/ and then click on “Guntis’ Blog” and see what I mean!

    Guntis, like I said *some*.
    I wasn’t necessarily speaking only about your problem.

    Hi,

    I was wondering if this has been solved yet as ive had this problem since installing wordpress ages ago, i now run 1.5.1.3 and today when trying to validate my feed in technorati it fails as its finding the url without the trailing slash.

    Started edit files and trying to add the slash in options but as others have found the slash doesnt save. Tried putting the url with index.php on the end and ended up trashing my blog, had to go into the database with phpadmin and edit the text that was save to remove the index page text as i couldnt login afterwards.

    I had edited the template files in places originally to add the slash as i noticed that various links were not working without it, when clicked i would be redirected to my site homepage as the blog page couldnt be found, noticed today while trying to solve the technorati problem that the feed xml text in the link field was also missing the trailing slash so in the end i edited the rdf and rss and rss2 files to add the slash after the blogurl variable and the feed now shows the correct link. Problem is i think when trying to cliam my feed with Technorati it is only reading the blogurl as in the database as saved under options os it goes to the wrong place and never finishes claiming it. I have logged a support ticket with them explaining what is happening so hopefully they will add my feed correctly.

    My website is http://www.coolwebpagetools.com the blog is located at http://www.coolwebpagetools.com/blog/

    If you leave the slash of as in http://www.coolwebpagetools.com/blog you will see what happens.

    As i say i have added the slash at the end in the php files wherever bloginfo_rss(‘url’) appears so that it shows correctly but there are still places like on the admin screen for the visit blog link fetches just the url as in the database that i havent changed yet.

    The problem would disappear if wordpress allowed the trailing slash to be saved.

    For the rss feeds i edited the rdf, rss and rss 2 files in the blog root and changed the link tags to have a / after the blog url is called and now when i click on the feed link it shows up in the xml generated file.

    Dont have access to the appache config files so cant change them. Could do it with htaccess but i feel this should really be done within wordpress by allowing the correct path to be saved. As obviously any programs or readers looking for the url will find the wrong one if only picking it up from the info saved in options.

    Was hoping this had been fixed after upgrading to 1.5.1.3 but it hasnt. Wont upgrade again until i know it going to work.

    Regards

    Rob

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘www and trailing slash problem’ is closed to new replies.