|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
So Fucking unBanned
Industry Role:
Join Date: Dec 2002
Location: Las Vegas
Posts: 21,743
|
Can I get some htaccess help, please?
Ok, here is the problem...
domain.com/blah works domain.com/blah/ goes to 404 - not good help? |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Nov 2002
Location: Sunny California
Posts: 26,053
|
Ok I was going to try to help but I think this is beyond me.
If domain.com/blah works but domain.com/blah/ doesn't. What can't you just keep it as domain.com/blah If you can't because there are multiple folders... why can't you just do... domain.com/blah/folder1 domain.com/blah/folder2 So it still works. Now if you have 100's of folders I understand why you wouldn't want to do that, which is why I said it's beyond my knowledge of htaccess.
__________________
icq 1904905 |
|
|
|
|
|
#3 | |
|
Confirmed User
Join Date: Jan 2005
Posts: 2,270
|
Quote:
__________________
E-mail marketing - Automation Scripting - IP Space AIM: splitjoelp ICQ: 254759453 skype - splitjoelp 702-941-6465 |
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Dec 2004
Location: NL (Eindhoven), CZ(Prague), FR(Concarneau)
Posts: 3,958
|
Post your htaccess
__________________
[img]http://****************/sig/fhv3_j2_624x80_2.gif[/img] $35-40 Per Signup, 60-70% Rev Share, over 80 Sites, Exclusive Sites, tons of free content 14,000+ Free hosted Galleries, RSS feeds, Domain Hosting, Embedded Flash Movies Join Fetish Hits now! ICQ: 358652230 |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Jan 2003
Location: Brisbane, Australia
Posts: 753
|
Even people like myspace have this very same problem, you're not alone.
Code:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]
This makes the slash always appear and redirects to the slash version without. |
|
|
|
|
|
#6 |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
quuuack.
Google doesn't care, why do you? - not good. for whom ? |
|
|
|
|
|
#7 | |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
Quote:
bump for the masters |
|
|
|
|
|
|
#8 |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
/
do'h
if this is your rule. RewriteRule ^([^/\.]+)$ index.php?shitsicles=$1 [L] just make another rule with '/' RewriteRule ^([^/\.]+)/$ index.php?shitsicles=$1 [L] update all your other rules |
|
|
|
|
|
#9 |
|
I need a beer
![]() Industry Role:
Join Date: Jun 2002
Location: ♠ Toiletville ♠
Posts: 133,961
|
Just buyanother one,baller
__________________
|
|
|
|
|
|
#10 |
|
So Fucking unBanned
Industry Role:
Join Date: Dec 2002
Location: Las Vegas
Posts: 21,743
|
because I have alot of links going to the trailing slash and now they 404
|
|
|
|
|
|
#11 |
|
So Fucking unBanned
Industry Role:
Join Date: Dec 2002
Location: Las Vegas
Posts: 21,743
|
thanks for the help guys
|
|
|
|
|
|
#12 |
|
Confirmed User
Industry Role:
Join Date: Jan 2007
Location: Mid-West!
Posts: 1,575
|
Mod Rewrite fucking kicks ass.
__________________
The Abbie*Cash Porn Network. Billing processing by CC*BILL. Join our affiliate program today.
RealDollSex | AbbieTeen | GamerChicks | ModelTexans | HottieCams ![]() Nintendo 3DS Porn Blog | Steve's Adult Industry Blog | Abbie Bueller's Porn Blog |
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Jan 2003
Location: Brisbane, Australia
Posts: 753
|
|
|
|
|
|
|
#14 | |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
Quote:
I'm looking at it like this. If a search engine finds http://blahblahblahb.com/folder It's assuming there is an index.html or similar there ? if it finds http://blahblahblahb.com/folder/ it's assuming the same thing. If it's not you should be assuming it is ? I think he's right, the correct way to do it would have folder/ and folder. that's why I said wordpress handles it nicely. I don't think you should redirect anything. Or maybe I'm wrong educate me |
|
|
|
|
|
|
#15 |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
it should be as natural as possible , it shouldn't look like it's been manipulated ?
|
|
|
|
|
|
#16 |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
|
|
|
|