thedesigncoalition
Forum Replies Created
-
I did this on my siteand it works great but I am now realizing that google is crawling the pages and giving links to the original directory, which results in a 404 since the htaccess has rewritten my urls. OH NO!
ex.
real location of files:
mydomain.com/wp/index.phpafter htaccess change use urls like:
mydomain.com/index.phpgoogle search result has link to:
mydomain.com/wp/index.php
which now returns a 404 because of htaccessany idea on what to do about this?
Duh, I got it.
<?php foreach((get_the_category()) as $cat) { if ($cat->cat_ID != '13') if ($cat->cat_ID != '14') { echo '<a href="?cat=' . $cat->cat_ID . '">' . $cat->cat_name . '</a> '; } } ?>
Forum: Plugins
In reply to: Changing author permalink to memberHmm. Not really sure my friend, to be honest with you, that is the first time I have ever even tried to do a mod-rewrite. Someone who is more familiar should be able to help.
Any Ideas ah642403hy or anyone else? ah642403hy’s solution works great for 1 category, but how do you specify multiple categories?
Forum: Plugins
In reply to: Changing author permalink to memberI tried and tried and am pretty sure I had the mod-rewrite right at one point with something like this before the wp stuff
RewriteEngine On RewriteRule artist/([A-Za-z]*)(/)?$ /author/$1 [L]
but it still just went to my 404.I think it has something to do with the wp rewrite. Sorry. My last post solution works for me but, If someone does come up with a solution, please post it.
Forum: Plugins
In reply to: Changing author permalink to memberbetter yet, I found the file. Line 156 of rewrite.php
Changed:
var $author_base = 'author';
To:
var $author_base = 'artist';
NOTE: you have to update your permalink structure in “Options>Permalinks” for changes to take affect.
Forum: Plugins
In reply to: Changing author permalink to memberI had another Idea. A mod-rewrite. I would think that
RewriteRule ^artist/([A-Za-z]*)(/)?$ /author/$1
would work, but to no avail. any reason why this wouldn’t work?
NOTE, i already have this in my .htaccess, could this be interfering? Because i get sent to my sites 404 page.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /ema/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /ema/index.php [L] </IfModule>
Forum: Plugins
In reply to: Changing author permalink to memberSurely a moderator would know? No?
Forum: Fixing WordPress
In reply to: Search author namesnot sure if you understood the dilemma. Here is a solution though https://www.ads-software.com/support/topic/121766?replies=6
Awesome! It totally works! but one more question, how do you specify multiple categories. for example I want to exclude both category 13 and 14.
I tried all of the following and it didn’t work.
...cat_ID != "13,14" ...cat_ID != "13","14" ...cat_ID != '13','14' ...cat_ID != '13,14' ...cat_ID != '13&14'
What’s the syntax?
Oh I meant that wp_list_categories has so many great options but the_category is still so limited. I need the_category because I am using it in the loop to show which categories a post is filed under and need to exclude a couple. Sorry, re-reading my statement, it didn’t make much sense.
Yeah, I am looking for this too. It’s weird, they added so much more options for wp_list_categories but this tag is still so limited.
I too need to Exclude a couple categories from the_category too. Anybody?
Forum: Plugins
In reply to: Default Custom Fieldstrue true. but what if you are using wordpress as a cms for a social networking site and your end users want to look for their friend “Travis Dahl” or just search for “Travis” or just “Dahl” and they don’t know what his username is. Believe me, I am taking adavantage of that built url feature too.
On a nother note, do you know how to change the text in that URL? for example:
mysite.com/blog/artist/author-username-here/
Forum: Fixing WordPress
In reply to: Post Author Comment Moderation NotificationI agree shoshumi, It only makes sense that the person that the comment is for should be the one to approve or deny it. Anybody have any ideas on how to accomplish this?
I tried using the Role Manager plugin but then the authors have full reign over comment moderation, not just theirs.
Forum: Plugins
In reply to: Default Custom FieldsNo this is just for searching for posts by a certain person, NOT a keyword + the author. In my usage I am using Kaf’s plugin that i mentioned above and I have 3 radio buttons, so you can search by “author’s real name”, “author’s username”, or the default search “post content”.
I believe this plugin provides the functionality you speak of.