ivovic
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Moving major site – will this work?sure… that’s what I’d do at this point.
I’m wondering about what you don’t think is necessary though – if you have links to /wp/ in your templates, you should remove them even if wordpress doesn’t care – simply because google does. if the same content can be found via / or /wp/ then you’ll get a duplicate content penalty.
… opening 30 files in a text editor and replacing /wp/ with / is going to take about 5 minutes, including a break to scratch yourself.
…
moving the files back is always an alternative… I don’t want to tell you how to live… but I strongly feel that your future will be easier if you do this now, and never think about having a ‘non standard’ installation again.
Forum: Installing WordPress
In reply to: Multiple installations on same site – issues?most welcome 🙂
Forum: Fixing WordPress
In reply to: Moving major site – will this work?actually, if your images are the only problem then I think you’d save yourself some general kerfuffle by just moving the uploads folder (not the plugins, not the themes, just the uploads)…
if you put them into wp/wp-content/uploads, you can then change the path of your upload folder under Settings/Miscellaneous.
..
personally, I think it’s worth the effort to run a search and replace through your database and replace every instance of ‘/wp/’ with ‘/’ once that’s done once it never needs doing again.
you can do a similar thing in the 5 template files you’ve got with a text editor… it’s maybe 20 minutes work.
… but of course its up to you 😉
and remember to backup your DB before you run any wild SQL magic through it 😉
Forum: Installing WordPress
In reply to: Multiple installations on same site – issues?it’s important to keep them in different folders, and to make sure your wp-config.php specifies different ‘table prefixes’ for each installation.
that’s *very* important.
if you’re doing this for multiple users as opposed to just multiple purposes, consider creating subdomains via cpanel instead of putting them in subfolders.
it’s just … better.
other than that… the only potential issue is plugins which create their own database tables. Occasionally you find a dumbass plugin author who doesn’t respect the table prefix setting in your wp-config.php.
… in the event this happens, the same plugin installed on both blogs will use the same settings table, which could be problematic.
It’s unlikely – but something to keep in the back of your mind, if you find one blog’s plugin settings are mysteriously appearing on the other’s as well.
what you want to do is very common, and it’s been done by people much MUCH more stupid than you, so I wouldn’t worry too much 😉
(I meant that in the nicest way possible…. you’re here asking questions beforehand after all, that gets top marks from me).
Forum: Fixing WordPress
In reply to: Moving major site – will this work?yep, any hard paths in your posts will need to be changed – you can do that easily enough with a “search and replace” plugin – there are a couple of those available.
most of the issue is with your theme though – you have a LOT of hard-coded paths in your navigation… consider using relative links if you’re going to hard code them.
… generally speaking, you’re done… there’s just cleanup work to follow, but most of everything works once you get past the fact your navigation links are all broken.
the uploads location will work fine – but you can actually specify that in your admin options, so make sure its pointing to the right place.
Forum: Fixing WordPress
In reply to: WordPress 2.5 and IE 6.0I can’t argue with your point…
I think the wordpress guys have made it abundantly clear that they’re happy to wage an anti-microsoft browser jihad… “browse happy” links at the bottom of the admin panel, etc….
it’s pretty unprofessional if you ask me (nobody is, but they should be).
they can use whatever they want – they can make whatever enhancements they want for a specific browser, but the open flag burnings are getting a bit much…
I really thought the great browser wars of the mid-90s were over… unfortunately there are still some zealots looking for reds under their beds, and throwing rocks at sushi bars.
Forum: Fixing WordPress
In reply to: In whitch category are we?try is_category
this will only work on category archive pages, while you browse.
Forum: Fixing WordPress
In reply to: WordPress 2.5 and IE 6.0you could always consider doing what they actually pay you to do, during work hours 😉
I don’t have a solution for you… if the wp admin panel really doesn’t work on IE6, that’s pretty sad, not very bright, etc… but I honestly feel like there’s a big psychological difference between blog readers and those who choose to write blogs.
I feel that difference would result in a much lower percentage of blog authors on IE6 than is reflected by your readership…
but, we can chat statistics all night, it’s still not going to fix your admin panel, I suppose.
Forum: Fixing WordPress
In reply to: Moving major site – will this work?your site is no longer generating ‘500’ errors, so *something* you did then did work (I’m guessing the deleting htaccess part).
if you have access to phpMyAdmin, then in the wp-options table, find the entries for “siteurl” and “home” and change them to your web address without the /wp (and without a trailing slash).
if you can’t get into the wp admin, this is the way to do it now.
Forum: Fixing WordPress
In reply to: Moving major site – will this work?the fact that *every* url I enter, even to files I know should be there, generates a 500 error, suggests a crapped-up htaccess file.
nuke it.
…
whatever you did just then had a positive effect 🙂 — however, your permalinks are still pointing to /wp/* suggesting that the URLs have not actually been changed in the options.
Forum: Fixing WordPress
In reply to: Moving major site – will this work?I’m sorry, due to the beers actually present in the room, I don’t do live chat 😉 – but I do respond fairly quickly.
did you move the subdirectories as well? is /wp now empty (or better yet, gone?)
instead of making an empty htaccess, have you tried just deleting it?
I can’t see any problem with the steps you performed above… if you did actually change the two URLs in the options the way you said you did.
if you do the two things I’ve said above, and it still doesn’t work – I’d suggest you may have files lost in the move – in which case, wipe the web root and upload some new files – your posts will be fine in the database where they are.
if it *still* doesnt work, we might need to get our hands on phpMyAdmin and change those options URLs manually.
Forum: Developing with WordPress
In reply to: How to exclude a category…Lets compare…
<?php if (is_home()) { query_posts($query_string . "&cat=-33"); } ?><?php if(is_home()) {query_post("cat=-39");}?php>firstly, there’s supposed to be an ‘s’ in query_posts, secondly, adding the $query_string preserves the pagination information as derived from the URL you’re using at the time. The second example is missing a few vital parts, not the least of which is that niggly ‘s’.
Forum: Fixing WordPress
In reply to: Moving major site – will this work?btw, if you DON’T want to do that, then you should keep step 1 of your process with the subdirectory in place.
… I don’t think that’s the best solution though.
Forum: Fixing WordPress
In reply to: Moving major site – will this work?move *all* the wordpress files into the root… this whole “keep them in a subdirectory” thing is pointlessly complicating a very simple issue.
You’ve changed both settings to remove the subfolder, now just get all the files out of that subfolder, and into your web-root.
Forum: Fixing WordPress
In reply to: WordPress 2.5 and IE 6.0I havent used the admin area in IE6, but I can tell you, that area has nothing whatsoever to do with your readers.
your blog theme is distinct from the admin theme… you may simply need to control the environment in which you create posts, either by upgrading IE, or by using Windows Live Writer to publish your posts, if indeed your admin area is hosed under IE6.
As I say, I’ve not tested it under IE6, but I would be kind of surprised if it didn’t work passably… but either way, it has bugger all to do with your blog’s visitors.