Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-01-12, 02:47 AM   #1
NY Jester
ICQ:147*079*406
 
NY Jester's Avatar
 
Join Date: Oct 2007
Location: Rock*ME*Hardplace
Posts: 2,996
Send a message via ICQ to NY Jester Send a message via AIM to NY Jester
404 Traffic on Blog site

Hey all, just a quick question...if I have a 404 set up with .htaccess on my root web will any 404's be redirected the same way off my blog directory?

Thanks
__________________
The Sexy Side of Porn
NY Jester is offline   Reply With Quote
Old 2008-01-12, 06:21 AM   #2
Lemmy
You can now put whatever you want in this space :)
 
Lemmy's Avatar
 
Join Date: Sep 2004
Location: Next door to a kid with a moped.
Posts: 1,492
Yes, unless you set up a separate .htaccess file for your blog dir. htaccess affects the dir they're in + all sub dirs.
__________________
BUY MY PORNSITES!
Lemmy is offline   Reply With Quote
Old 2008-01-13, 02:57 AM   #3
NY Jester
ICQ:147*079*406
 
NY Jester's Avatar
 
Join Date: Oct 2007
Location: Rock*ME*Hardplace
Posts: 2,996
Send a message via ICQ to NY Jester Send a message via AIM to NY Jester
Thank you Lemmy, I thoughts thats how it worked but I didnt know if it needed to be set stand alone.
__________________
The Sexy Side of Porn
NY Jester is offline   Reply With Quote
Old 2008-01-13, 08:29 AM   #4
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
One thing to keep in mind is that WordPress will either create or ask you to create an htaccess file in your blog directory if, for example, you wish to have 'search engine friendly' URLs for your blog pages. If you're using WP and/or do have another htaccess in your blog directory for some reason, just add your 404 statements to that htaccess too and you should be fine.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2008-01-31, 08:12 PM   #5
Element115
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
Element115's Avatar
 
Join Date: Dec 2007
Posts: 86
Quote:
Originally Posted by Simon View Post
One thing to keep in mind is that WordPress will either create or ask you to create an htaccess file in your blog directory if, for example, you wish to have 'search engine friendly' URLs for your blog pages. If you're using WP and/or do have another htaccess in your blog directory for some reason, just add your 404 statements to that htaccess too and you should be fine.
This is good to know, thanks. I don't mean to hijack this thread but I have a question about the 'search engine friendly' URL's. When my blog comes up on a search it doesn't seem to be listing the full URL, just up to /blog/. I have permalinks set up to use my post titles, title tags on all my pages and I've added a sitemap. Google seems to be indexing those but the full URL's are not being displayed when my site comes up in a searches. Any ideas why this may be happening? Maybe because the site is so new?
Element115 is offline   Reply With Quote
Old 2008-02-03, 03:34 AM   #6
Element115
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
Element115's Avatar
 
Join Date: Dec 2007
Posts: 86
Quote:
Originally Posted by Simon View Post
One thing to keep in mind is that WordPress will either create or ask you to create an htaccess file in your blog directory if, for example, you wish to have 'search engine friendly' URLs for your blog pages. If you're using WP and/or do have another htaccess in your blog directory for some reason, just add your 404 statements to that htaccess too and you should be fine.
When you talk about using the htaccess to make your URL's more search engine friendly, what do you mean exactly? Do you mean this code here?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

or were you referring to something else?
Element115 is offline   Reply With Quote
Old 2008-02-01, 07:33 AM   #7
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
How are you searching for your site? Are you entering the domain name or are you searching by various keywords?

One this search I ran I saw a variety of URLs from your site.
http://www.google.com/search?q=+site...skinnyteen.net
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2008-02-02, 06:26 PM   #8
Element115
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
Element115's Avatar
 
Join Date: Dec 2007
Posts: 86
Quote:
Originally Posted by Simon View Post
How are you searching for your site? Are you entering the domain name or are you searching by various keywords?

One this search I ran I saw a variety of URLs from your site.
http://www.google.com/search?q=+site...skinnyteen.net
Keywords mostly. I'm still getting listed pretty well for my key words, but I thought it might help if the SE's were also listing the full titles of my pages. I think I figured out the problem though. I was running the title tags plug-in and all in one SEO together and I think they were conflicting with each other so I dropped title tags and am now just running all-in-one-seo. I'll see if that changes anything as the SE's index my site some more.

This is kind of a noob question for you guys. Do you just redirect your 404 hits to your main page or do you actually create a separate 404 page?

Last edited by Element115; 2008-02-02 at 06:31 PM.. Reason: misspellings
Element115 is offline   Reply With Quote
Old 2008-02-01, 10:54 AM   #9
NY Jester
ICQ:147*079*406
 
NY Jester's Avatar
 
Join Date: Oct 2007
Location: Rock*ME*Hardplace
Posts: 2,996
Send a message via ICQ to NY Jester Send a message via AIM to NY Jester
I appreciate the WP tip Simon..Ill keep that fresh in mind when Im setting it up.

***
__________________
The Sexy Side of Porn
NY Jester is offline   Reply With Quote
Old 2008-02-01, 05:51 PM   #10
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Also, see if the theme you're using has its own 404 page, maybe called 404.php in the theme files folder. If it does have its own 404 page, you can either make changes to the WP script (which could be a bad idea if you intend to upgrade regularly) or you can just swap whatever is in the 404.php file for some php code that sends the errors where you want them to go.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2008-02-03, 07:26 AM   #11
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Yes, that's the code which WP will either insert into your htaccess file or ask you to insert if the file isn't writable by WP.

As far as creating your own 404 page versus sending 404s to your main page, you're probably fine sending surfers to your main page as long as it's a page they'll find interesting. Just remember that your 404 choice may be the only page some surfers will see. There's some good info on a few sites in the first search results below if you decide you want to use custom 404 pages with your blog.
http://www.google.com/search?q=404+page+for+blogs

HTH
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2008-02-03, 09:46 AM   #12
Element115
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
Element115's Avatar
 
Join Date: Dec 2007
Posts: 86
ok thanks
Element115 is offline   Reply With Quote
Old 2008-02-06, 05:20 PM   #13
Element115
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
 
Element115's Avatar
 
Join Date: Dec 2007
Posts: 86
Just a quick update. My listings seem to be getting more SE friendly after removing the title tags plug-in. It would make sense that title tags and All-in-one SEO conflict with each other and I'm pretty sure that was the problem. Just wanted to point that out in case anyone else was having the same problem. Just be sure to make sure your plug-ins aren't conflicting with each other.
Element115 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:10 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc